当前位置:网站首页>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
边栏推荐
- 互聯網協議詳解
- Comparison of solutions of Qualcomm & MTK & Kirin mobile platform USB3.0
- 2019 Tencent summer intern formal written examination
- GCC compilation options
- Kaggle竞赛-Two Sigma Connect: Rental Listing Inquiries
- 5G工作原理详解(解释&图解)
- IOT system framework learning
- Amba, ahb, APB, Axi Understanding
- C语言,log打印文件名、函数名、行号、日期时间
- 关键字 inline (内联函数)用法解析【C语言】
猜你喜欢
STM32 如何定位导致发生 hard fault 的代码段
arduino UNO R3的寄存器写法(1)-----引脚电平状态变化
Redis interview questions
[esp32 learning-2] esp32 address mapping
Kaggle competition two Sigma connect: rental listing inquiries
Kaggle竞赛-Two Sigma Connect: Rental Listing Inquiries
小天才电话手表 Z3工作原理
【ESP32学习-2】esp32地址映射
R & D thinking 01 ----- classic of embedded intelligent product development process
Detailed explanation of 5g working principle (explanation & illustration)
随机推荐
C语言函数之可变参数原理:va_start、va_arg及va_end
Principle and implementation of MySQL master-slave replication
分布式事务的实现方案
电商数据分析--用户行为分析
Cannot change version of project facet Dynamic Web Module to 2.3.
ToggleButton实现一个开关灯的效果
高通&MTK&麒麟 手機平臺USB3.0方案對比
imgcat使用心得
Characteristics, task status and startup of UCOS III
Cannot change version of project facet Dynamic Web Module to 2.3.
mysql实现读写分离
OPPO VOOC快充电路和协议
JS正则表达式基础知识学习
Funny cartoon: Programmer's logic
Rough analysis of map file
gcc 编译选项
RT-Thread 线程的时间片轮询调度
Come and walk into the JVM
Kconfig Kbuild
Linux Yum install MySQL