当前位置: 首页 > news >正文

vscode 改注释的颜色,默认是灰色的,想改成红色

修改VScode编辑器默认注释的颜色_databricks代码中怎么设置让注释是灰色的-CSDN博客

//改变注释颜色"editor.tokenColorCustomizations": {"comments": "#009933" // 注释}, //如果后面还加内容,记得块末用逗号隔开

我自己用的vscdoe.json文件

{"editor.fontSize": 16,"workbench.list.openMode": "singleClick","workbench.editor.enablePreview": false,"editor.renderWhitespace": "boundary","editor.renderControlCharacters": true,"editor.formatOnSave": true,"extensions.ignoreRecommendations": false,"files.autoSave": "onFocusChange","git.autofetch": true,"gitlens.advanced.messages": {"suppressLineUncommittedWarning": true},"prettier.semi": false, // 使用单引号代替双引号"window.zoomLevel": 0,"workbench.colorTheme": "Monokai",//改变注释颜色"editor.tokenColorCustomizations": {"comments": "#d63031" // 注释},"workbench.editor.highlightModifiedTabs": false,"workbench.startupEditor": "newUntitledFile","[javascript]": {"editor.defaultFormatter": "vscode.typescript-language-features"},"editor.formatOnType": true,"editor.quickSuggestions": {"strings": "on"},"editor.wordWrapColumn": 1000,"merge-conflict.autoNavigateNextConflict.enabled": true,"prettier.bracketSameLine": true,"prettier.jsxSingleQuote": true,"prettier.printWidth": 300,"prettier.tabWidth": 4,"prettier.singleQuote": true,"prettier.proseWrap": "never","editor.codeActionsOnSave": {"source.fixAll.eslint": "explicit"},"workbench.iconTheme": "vscode-icons","fileheader.Author": "maojunsen","fileheader.LastModifiedBy": "maojunsen","vsicons.projectDetection.autoReload": true,"explorer.confirmDelete": false,"explorer.confirmDragAndDrop": false,"terminal.integrated.fontFamily": "monospace","editor.linkedEditing": true,"gitlens.gitCommands.skipConfirmations": ["fetch:command","switch:command"],"[typescriptreact]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},"[less]": {"editor.defaultFormatter": "michelemelluso.code-beautifier"},"editor.tabSize": 2,"[typescript]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},"files.associations": {"*.cjson": "jsonc","*.wxss": "css","*.wxs": "javascript"},"emmet.includeLanguages": {"wxml": "html"},"[css]": {"editor.defaultFormatter": "michelemelluso.code-beautifier"},"[wxml]": {},"bracketPairColorizer.depreciation-notice": false,"editor.unicodeHighlight.ambiguousCharacters": false,"[vue]": {},"[jsonc]": {"editor.defaultFormatter": "vscode.json-language-features"},"typescript.updateImportsOnFileMove.enabled": "always","settingsSync.ignoredExtensions": [],"terminal.integrated.enableMultiLinePasteWarning": "never","git.confirmSync": false,"[json]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},"diffEditor.ignoreTrimWhitespace": false,"css.validate": false,"less.validate": false,"scss.validate": false,"js/ts.implicitProjectConfig.checkJs": true,"javascript.updateImportsOnFileMove.enabled": "always","[scss]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},"files.exclude": {"**/node_modules": true},
}

 

注释变成了红色

http://www.lqws.cn/news/584317.html

相关文章:

  • Prompt Enginering
  • 会议室预约系统的典型架构
  • Prompt 精通之路(一)- AI 时代的新语言:到底什么是 Prompt?为什么它如此重要?
  • Python 数据分析与机器学习入门 (五):Matplotlib 数据可视化基础
  • ubuntu源码安装python3.13遇到Could not build the ssl module!解决方法
  • 使用nomachine远程连接ARM设备桌面
  • 【Vscode】Vscode切换成中文语言
  • Java历史:从橡树到火星探索,从微软法律战到Spring、Gradle
  • Java web1(黑马)
  • django 数据表外键 删除时 对应表的数据不删除如何设置
  • 卫朋:华为流程体系拆解系列——IPD流程L1-L6分级导入实战演练
  • Junit_注解_枚举
  • 机器学习在智能仓储中的应用:库存管理与物流优化
  • SpringCloud系列(43)--搭建SpringCloud Config客户端
  • 后台管理系统的诞生 - 利用AI 1天完成整个后台管理系统的微服务后端+前端
  • Nestjs框架: Nestjs 复杂企业应用场景架构设计分析
  • Prompt 精通之路(五)- 构建你的“AI 指令系统”:超越简单提问的 CRISPE 与 APE 框架
  • 基于Spring Boot的绿园社区团购系统的设计与实现
  • 在Linux系统上怎么优化Oracle数据库配置
  • 导入apex报错AttributeError: module ‘torch‘ has no attribute ‘library‘
  • 怎么在手机上预约心理咨询师
  • Linux 安装使用教程
  • 单例模式在前端(JavaScript)中的实现与应用
  • 中钧科技参加中亚数字经济对话会,引领新疆企业数字化新征程!
  • `docker-compose` 安装 Neo4j 的详细步骤
  • 小红书按关键词搜索商品列表API接口操作流程
  • vue3.0所采用得Composition Api与Vue2.XOtions Api有什么不同?
  • uniapp+vue2 ba-tree-picker下拉项多选 树形层级选择器(支持单选、多选、父级选择、映射)
  • 百度文心大模型4.5系列正式开源,同步开放API服务
  • JAVA-JWT