In VS Code, how to add automatically const when you press (ctrl + s) ?
Question posted in Visual Studio Code
View the official documentation.
View the official documentation.
In VS Code, how to add automatically const when you press (ctrl + s) ?
2
Answers
**To Add auto const feature when you save the file in Flutter in VS Code, you should follow these steps: **
1-) press (ctrl + P) then search for (settings.json) file.
2-) Add this code line to there;
ctrl+ shift+ P
settings.json
Open the User Settings(Json)
Add the following code
Note: simplified and updated @Emirhan’s answer with required changes