Visual Studio Code is a lightweight, free development tool provided by Microsoft. Very suitable for early development. Vscode is completely free compared to sublime development tools, providing powerful formatting tools by default without plug-ins, and support for jumping to corresponding codes. It’s more efficient to use.
The download address is as follows. The size of the downloaded compressed package is more than 60 M. The tool is very fast to start.
https://code.visualstudio.com/
Vscode help is also very powerful and can be learned quickly. For example, you can open the shortcut key definition through the following menu.
File -> Preferences -> Keyboard Shortcuts
You can learn your favorite keyboard shortcuts. Here are some of the ones I use most often:
CTRL + P quickly opens a file
CTRL + G jumps to the specified line
CTRL + F searches the current file
CTRL + Shift + K deletes the current line
Home jumps to the beginning of the line
End jumps to the end of the line
CTRL + Home jumps to the beginning of the file
CTRL + End jumps to the end of the file
CTRL + Shift + [Collapses a code block
CTRL + Shift +] expands a code block
F3 / Shift + F3 finds next/finds previous
CTRL + D can batch select the same element and rename the variable or method name
CTRL + Shift + O finds a method in the current file
Alt + Shift + F formatting code
F12 Jump to the definition
CTRL + I selects the current line
In addition, through the path
File -> Preferences -> Keyboard Shortcuts to open the keybindings.json File and define your own Shortcuts
For example: define convert all characters to upper/lower case, modify keybinding. json file. You can then use the CTRL + Shift + U shortcut to change a variable to uppercase. Change the uppercase variable to lowercase by CTRL + Shift + L.
// Place the key bindings in this file to override the default values
[
{
“key”: “ctrl+shift+u”,
“command”: “editor.action.transformToUppercase” ,
“when”: “editorTextFocus”
},
{
“key”: “ctrl+shift+l”,
“command”: “editor.action.transformToLowercase” ,
“when”: “editorTextFocus”
}
]