当前位置:网站首页>Vscode common plug-ins and configurations

Vscode common plug-ins and configurations

2022-06-10 22:59:00 White whoring leader

Share a set of super comfortable Vs Code Plug in and configuration ( Only used when developing and writing code , There is no fish for ), The functions of each plug-in will not be introduced one by one , Serve directly !!!
 Insert picture description here

First screen plug-in

 Insert picture description here

Second screen plug-in

settings.json The configuration of the file is as follows

{
    
  // Controls whether the editor automatically formats pasted content .
  "editor.formatOnPaste": true,
  // Format the file when saving .
  "editor.formatOnSave": true,
  // Define a default formatter 
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  // For a language , Configure alternate editor settings , Such as :.
  // "[vue]": {
    
  // "editor.defaultFormatter": "esbenp.prettier-vscode"
  // },
  // prohibit vetur Generate prompt warning 
  "vetur.ignoreProjectWarning": true,
  // Whether the vue Of documents template To test , Such as v-for Forgetting to add key The editor will be marked red 
  "vetur.validation.template": true,
  // Controls whether the resource manager confirms when deleting files to the wastebasket .
  "explorer.confirmDelete": false,
  // Control font size ( Pixels )
  "editor.fontSize": 16,
  // Whether to add a semicolon at the end of each line 
  "prettier.semi": false,
  "prettier.printWidth": 200, //  Wrap over maximum 
  "liveServer.settings.donotShowInfoMsg": true,
  // Always allow untrusted files to be introduced into trusted workspaces , Do not display the prompt 
  "security.workspace.trust.untrustedFiles": "open",
  //px to rem The plug-in root font size 
  "cssrem.rootFontSize": 190,
  // Automatically update the import path when renaming or moving files 
  "javascript.updateImportsOnFileMove.enabled": "always",
  "typescript.updateImportsOnFileMove.enabled": "always",
  // Turn on alt+ The mouse wheel sets the font size 
  "editor.mouseWheelZoom": true,
  //git The plug-in configuration 
  "git.autofetch": true,
  "gitlens.advanced.messages": {
    
    "suppressGitDisabledWarning": true,
    "suppressGitMissingWarning": true
  },

  //vscode-icons The file icon used by the plug-in 
  "workbench.iconTheme": "vscode-icons"
}
原网站

版权声明
本文为[White whoring leader]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206101619232196.html