Skip to content

Enhance VS Code Extension - #27

Merged
jshep23 merged 17 commits into
mainfrom
EnhanceVSExtension
May 1, 2026
Merged

jshep23 merged 17 commits into
mainfrom
EnhanceVSExtension

Conversation

@jshep23

@jshep23 jshep23 commented May 1, 2026

Copy link
Copy Markdown
Contributor
  • Updated extension name and description to better reflect available features
  • Minor updates to existing snippets so the cursor ends up in a more intuitive place after insertion
  • Added new Command Palette command to create a new CurrentWidget and View Model. Will prompt you for a file name and design language (material or cupertino). If you are using Current 3.0.0 or greater, will also be presented with an option to create a CurrentWidget with CurrentTextController support.
  • Added a Context Menu option when right-clicking on a folder in the VS Explorer pane to create new CurrentWidget and ViewModel files in that folder.
  • Added several VS Quick Code Actions have been added. These can be activated using your Quick Fix keyboard shortcut and your cursor is:
    1. On a CurrentProperty, add the property to the CurrentViewModel's currentProps list.
    2. On the currentProps list in a CurrentViewModel, add any missing CurrentProperty fields to the list.
    3. On a regular StatefulWidget or StatelessWidget, convert it to a CurrentWidget.
    4. On a CurrentState class declaration, add the CurrentTextControllersLifecycleMixin to the class declaration and add the necessary lifecycle method overrides. (Requires Current 3.0.0 or greater)
    5. On a CurrentTextController, bind the controller to a property and add to the bindCurrentControllers method automatically. (Requires Current 3.0.0 or greater)

@jshep23 jshep23 added the 3.0.0 label May 1, 2026
@jshep23
jshep23 merged commit 6d45f49 into main May 1, 2026
4 checks passed
@jshep23
jshep23 deleted the EnhanceVSExtension branch May 1, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant