I am looking for a few things to improve my productivity, Android Studio has these features and it really sped up my work, if you know any of these please share.
- Ctrl Shift Space equivalent in VS Code Flutter. What it did in Android Studio was auto complete a statement. For example if I typed in
if
and then hit Ctrl Shift Space, the if condition code block would be completed for me automatically with()
and{}
after it, with putting the cursor within the condition. - Code snippets for things like for loops. On Android Studio you could type in
iter
and then Tab, it would createfor (var _ in ) {}
and automatically jump to both variables to fill their names on two Enter keystrokes.
These were great for me, please share if these exist in VS Code, as I understand it is supposed to be superior.
CodePudding user response:
In order to prioritize the extension snippets and have these ones for the first suggestion, go to File/Settings/Text Editor/Suggestions
and set Snippet Suggestions
to top
. Now it looks like