How to modify the default configuration of vscode?
vscode configuration
1. Remove ctrl s and save the automatic format change file:
Related recommendations: vscode tutorial
File->Preferences->Settings-> Directly search for "editor.formatOnType": false, and "editor.formatOnSave": false Restart, that's it;
After updating VsCode today, I found a pitfall. The previously set prohibition of saving and formatting was useless. Finally, I found that the JS-CS-HTML Formatter was not disabled. If the same problem occurs, check JS-CS - Is the HTML Formatter disabled?
2. Set vscode automatic line wrapping:
File->Preferences->Settings->Direct search-> Editor:WordWrap, turn off Just change it to on
3. Vscode is an open source cross-platform editor. By default, the language used by vscode is English (us). How to change its display language to Chinese:
1). Open the vscode tool;
2) Use the shortcut key combination [ Ctrl Shift p], enter "configure display language" in the search box, and click OK;
3) Modify the attribute "locale" under the locale.json file to "zh-CN";
4) Restart the vscode tool;
If the vscode menu etc. are still displayed in English after restarting, check the installed plug-ins in the store and reinstall the Chinese plug-ins. (As shown below), and then restart the tool.
4. Open vscode>File>Preferences>User code snippet (shortcut key: ctrl shift p Delete> )>Find the corresponding language, here is JavaScript as an example, search with JavaScript,
##5. How to right-click to run VsCode file Click on the extension or (Ctrl Shift X), search for Code Runner, click on install, and restart That’s it; More settings will be added later;
The above is the detailed content of How to modify the default configuration of vscode. For more information, please follow other related articles on the PHP Chinese website!