当前位置:网站首页>Vscode basic configuration
Vscode basic configuration
2022-07-06 12:06:00 【Aboci Bang】
1. install VSCode( Official website :https://code.visualstudio.com/)
2. Install the following plug-ins ( Choose... On your own
):
3.VSCode Basic configuration
Select all clear VSCode Basic configuration ( It can also not be cleared )
tab Set the key to 2 A space
Use format document : Right click the main body of the file (html file 、vue file ...)
Select the format document plug-in
Set automatic formatting when saving
Set editor font size
Set auto wrap
Check auto wrap , Uncheck show thumbnails ( The pull-down bar on the right becomes normal )
Set file icon theme Source plugin :vscode-icons
Set up vue User code snippet : When using : newly build vue file , Direct input vue Then choose the one you named vue Code snippet then press Tab Key or enter key
Of course vbase It's also very good
{
"vue_learn_template": {
/* Quickly generate shortcut keys */
"prefix": "vue",
"body": [
"<template>",
"\t<div class=\"app\"></div>",
"</template>",
"<script>", "export default {", "\tdata() {", "\t\treturn {", "\t\t\tdata: null,", "\t\t};", "\t},", "\tmethods: {},", "\tmounted(){},", "\tcomputed: {},", "};", "</script>",
"<style lang=\"scss\" scoped>", ".app {
", "\tinput {
", "\t\toutline: 0;", "\t}", "}", "</style>"
],
"description": "vue Basic template " // Description of template
}
}
my VSCode settings.json The contents of the document
{
"security.workspace.trust.untrustedFiles": "open",
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"editor.fontSize": 16,
"editor.formatOnSave": true,
"bracketPairColorizer.depreciation-notice": false,
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"explorer.confirmDelete": false,
"workbench.editorAssociations": {
"*.docx": "default"
},
"explorer.confirmDragAndDrop": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"workbench.iconTheme": "vscode-icons",
"editor.mouseWheelZoom": true,
"editor.wordWrap": "on",
"workbench.colorTheme": "Community Material Theme Palenight High Contrast",
"editor.tabSize": 2,
"editor.renderWhitespace": "none",
"breadcrumbs.enabled": false,
"editor.fontFamily": "Fira Code Retina,Consolas, 'Courier New', monospace",
"editor.minimap.enabled": false,
"window.zoomLevel": 0.5,
"workbench.colorCustomizations": {
"activityBar.background": "#303030",// Left menu bar color
"titleBar.activeBackground": "#3e3e3e",// Top menu bar color
"titleBar.activeForeground": "#ffffff",// Top menu bar text color
"editor.selectionHighlightBackground": "#999999",
"editor.selectionBackground":"#797979",
"terminal.background": "#000000",
"terminal.foreground": "#968eeb",
"terminalCursor.background": "#eaeaea",
"terminalCursor.foreground": "#eaeaea",
"debugConsole.infoForeground":"#1e9fff",
"debugConsole.warningForeground":"#ff781e",// debugging REPL The foreground color of the warning message in the console .
"debugConsole.errorForeground":"#a20000",// debugging REPL The foreground color of the error message in the console .
//"debugConsole.sourceForeground":,// debugging REPL The foreground color of the source file name in the console .
//"debugConsoleInputIcon.foreground":,// Debug console input Flag Icon foreground .
},
}
adjustment VSCode Please visit :https://code.visualstudio.com/api/references/theme-color
边栏推荐
- Mysql database interview questions
- 2019 Tencent summer intern formal written examination
- RuntimeError: cuDNN error: CUDNN_ STATUS_ NOT_ INITIALIZED
- arduino JSON数据信息解析
- Those commonly used tool classes and methods in hutool
- 小天才电话手表 Z3工作原理
- 共用体(union)详解【C语言】
- A possible cause and solution of "stuck" main thread of RT thread
- Cannot change version of project facet Dynamic Web Module to 2.3.
- ToggleButton实现一个开关灯的效果
猜你喜欢
mysql实现读写分离
RT-Thread API参考手册
Arm pc=pc+8 is the most understandable explanation
Mall project -- day09 -- order module
Cannot change version of project facet Dynamic Web Module to 2.3.
MongoDB
Basic use of pytest
Vert. x: A simple login access demo (simple use of router)
Pytorch four commonly used optimizer tests
Several declarations about pointers [C language]
随机推荐
Arm pc=pc+8 is the most understandable explanation
. elf . map . list . Hex file
Come and walk into the JVM
Togglebutton realizes the effect of switching lights
Keyword inline (inline function) usage analysis [C language]
OPPO VOOC快充电路和协议
Dead loop in FreeRTOS task function
mysql实现读写分离
arduino JSON数据信息解析
JS object and event learning notes
gcc 编译选项
OSPF message details - LSA overview
FTP file upload file implementation, regularly scan folders to upload files in the specified format to the server, C language to realize FTP file upload details and code case implementation
Embedded startup process
几个关于指针的声明【C语言】
数据分析之缺失值填充(重点讲解多重插值法Miceforest)
高通&MTK&麒麟 手机平台USB3.0方案对比
Vert. x: A simple TCP client and server demo
高通&MTK&麒麟 手機平臺USB3.0方案對比
Feature of sklearn_ extraction. text. CountVectorizer / TfidVectorizer