美文网首页
VSCode 使用技巧

VSCode 使用技巧

作者: wjh2005dev | 来源:发表于2019-07-25 09:11 被阅读0次

1. 修改当前行颜色:

1. go to file > Preferences > settings
2. type in the search Editor token color customizations
3. under the Editor token color customizations header
4. click on edit in settings.json
5. paste this into the json object

"workbench.colorCustomizations": {
    "editor.selectionBackground": "#e788ff7c", //Currently SELECTED text     "editor.selectionHighlightBackground": "#ff00005b", //Same content as selection     "editor.lineHighlightBackground": "#ffffff57",

    "editor.findMatchBackground": "#00cc44a8", //Current SEARCH MATCH     "editor.findMatchHighlightBackground": "#ff7b00a1" //Other SEARCH MATCHES
 },

2. 修改Line Number区域颜色:

1. go to file > Preferences > settings
2. type in the searchEditor token color customizations
3. under theEditor token color customizationsheader
4. click on edit in settings.json
5. paste this into the json object 

"workbench.colorCustomizations": {
   "editorLineNumber.foreground": "#6d6e6d",
   "editorGutter.background": "#3d3d3f",
   "editorCursor.foreground": "#d41313",
 }

相关文章

  • VSCode 使用技巧

    1. 修改当前行颜色: 1. go to file > Preferences > settings2. type...

  • vscode 使用技巧

    1、注释 单行注释:'ctrl + /’ 多行注释(块注释):'Alt+Shift+A’ 2、使用clg 可以快速...

  • VSCode使用技巧

    VSCode所有的快捷键,都可以进行自定义,只需要通过设置->键盘快捷键方式->搜索快捷键->双击键入自定义快捷方...

  • Vscode使用技巧

    1,npm run lint -- --fix 运行eslint检查代码错误

  • vscode使用技巧

    一、创建新建文件模板: 1.打开vscode,找到用户代码片段 2.在当前工作空间下创建代码片段,也可设置全局代码...

  • vscode 使用技巧

    之前笔者写过几篇关于vscode的文章 鱼和熊掌:VSCode+Vim , VSCode Vim进阶操作,VSC...

  • VSCode 使用技巧

    (一) 插件相关 通用插件 标签自动成对修改Auto Rename Tag 目标文件自动联想AutoFileNa...

  • vscode使用技巧

    1、选中中划线

  • vscode一些插件的使用方法

    关于vscode的使用技巧,可参考官网http://code.visualstudio.com/docs,user...

  • vscode使用小技巧

    新建,保存和预览文件 新建:在本地新建文件夹(目录),并将其拖至vscode中,再在vscode中对该目录新建相应...

网友评论

      本文标题:VSCode 使用技巧

      本文链接:https://www.haomeiwen.com/subject/dehcrctx.html