What is VSCode
The starting address
Go here to see the video tutorial
Visual Studio Code (VS Code for short) is a free Code editor developed by Microsoft for Windows, Linux, and macOS operating systems. It supports testing, has built-in Git version control, and also has development environment functionality. Examples include code completion (similar to IntelliSense), code snippet, and code refactoring. The editor allows users to customize various attributes and parameters, such as changing theme colors and keyboard shortcuts, as well as built-in extension management. VSCode also supports Flutter development. In my daily development, I use VSCode more than Android Studio.
Download and install VSCode
Open theVSCode official website Double-click below when doneexe
The file is installed and opened. Open it and find itExtensions
Or use shortcut keysCtrl+Shift+X
Open the extension center. Enter in the extension centerflutter
The first one that appears is the Flutter extension we want to install. Click Install.
New project
Click in sequence when the installation is completeView
->Command Palette...
(Or use shortcut keysCtrl+Shift+P
) Enter the keyword in the input box that is displayedflutter
Then press Enter, select the directory the project wants to hold, and enter the project name.Note: after creating the project, VSCode will help us install itDart
Language-specific dependencies. This completes the configuration of the Flutter environment under VSCode.