Giter Site home page Giter Site logo

codesadhu / startify Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.47 MB

Startify - a Visual Studio Code Extension for creating awesome Flutter projects with ease!

Home Page: https://marketplace.visualstudio.com/items?itemName=CodeSadhu.startify

License: MIT License

JavaScript 100.00%
dart dart-extension dartlang flutter flutter-vscode-extension vscode-extension

startify's Issues

Improve code readability and sort resultant code

Currently the extension generates dart files and fills in the boilerplate code via the variables found in the extension.js file. I believe a better approach will be to segregate/sort these boilerplate codes into separate files within the source code folder and then reference somehow during runtime.
I tried taking this approach but it seems it doesn't work well after bundling the extension into a .vsix.

Perhaps, Github variables can come to the rescue and help a bit here.

Please note that this is only the approach I think is optimal. Better approaches/suggestions are always appreciated.

Need to run some checks before generating boilerplate files

Startify needs to first check whether the files and/or folders that it is about to generate already exist. If not, proceed with generation. If yes, pass these scenarios:

  1. If folder exists (eg. utils), the files that are normally generated under the utils folder should be generated in the one that already exists
  2. If the file exists (eg. utils/colors.dart), skip the creation of the file and display a message stating the skipped file name.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.