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

vs code 设置字体颜色

修改setting.json文件

{"remote.SSH.remotePlatform": {"ubuntu": "linux"},// "workbench.colorTheme": "One Dark Pro",// "editor.semanticTokenColorCustomizations": {// },"editor.semanticTokenColorCustomizations": {"enabled": true, // enable for all themes"rules": {"*.static": {"foreground": "#ff0000",// "fontStyle": "bold"},"property": { //属性// "foreground": "#6ae65a",// "fontStyle": "bold"},"macro": { //宏"foreground": "#234bfa",// "fontStyle": "bold"},// "function": {   //函数//     "foreground": "#e4db5f",//     "fontStyle": "bold"// },"variable.global": { //全局变量"foreground": "#ff09ff",// "fontStyle": "bold"},"variable.local": { //局部变量"foreground": "#71c3f3",// "fontStyle": "bold"},}},// 自定义的颜色"editor.tokenColorCustomizations": {// "[C++].variable.other.readwrite": "#88d8b0", // 类实例化的对象颜色 能用吗"comments": "#1d965a", // 注释"keywords": "#da10f5", // 关键字// "variables": "#d8aeff", // 变量名 函数的参数名 // "strings": "#00f7ff", // 字符串"functions": "#d8e662", // 自定义及内置的函数名称 如:print// "numbers": "#00eeff", // 数字"types": "#ff8717", //类定义颜色"textMateRules": [{"scope": "keyword.control",// 为控制关键字 if、else、for、while、return 等"settings": {"foreground": "#C586C0"}},{"scope": "keyword.operator", // 操作符 +、-、*、/、=、==、!= 等"settings": {// "foreground": "#f07d3b"}},{"scope": "storage.modifier", // 修饰符 const、static、volatile、inline"settings": {"foreground": "#3b47f7"}},{"scope": "entity.name.type.class", // 为类名(如 MyClass)设置颜色"settings": {"foreground": "#fd9116"}},{"scope": "entity.name.type.interface", // 为接口名(如 MyInterface)设置颜色"settings": {"foreground": "#ff0505"}},{"scope": "entity.name.namespace", // 为命名空间设置颜色"settings": {"foreground": "#0cfab2"}},// {//     "scope": "entity.name.tag", // 为标签名//     "settings": {//         "foreground": "#d35c5c"//     }// }]},"highlightwords.box": {"light": true, // 在亮色主题下不显示边框"dark": false // 在暗色主题下显示边框},// 选中高亮的颜色"workbench.colorCustomizations": {"editor.selectionBackground": "#406b6d"},
}


http://www.mrgr.cn/news/93791.html

相关文章:

  • deepseek在pycharm中的配置和简单应用
  • K8S学习之基础十九:k8s的四层代理Service
  • 分布式ETCD面试题及参考答案
  • 数据结构第六节:二叉搜索树(BST)的基本操作与实现
  • 数据结构第八节:红黑树(初阶)
  • 74LS148实现优先权管理
  • Python asyncIO 面试题及参考答案 草
  • 《C陷阱与缺陷》读书笔记(一)
  • 如何利用DeepSeek+OCR技术打造一款AI投标工具:自动解析招标文件并生成投标标书的工具?
  • 初识大模型——大语言模型 LLMBook 学习(一)
  • 利用pdf.js+百度翻译实现PDF翻译,创建中文PDF
  • 【UCB CS 61B SP24】Lecture 28 - Tries 学习笔记
  • Java多线程与高并发专题——什么是阻塞队列?
  • Linux中的TCP编程接口基本使用
  • 【开源界的Manus替代战:模块化设计 vs 跨平台实战 vs 全能开发,谁主沉浮?】
  • HTML5(Web前端开发笔记第一期)
  • Vue使用jsts,将wkt转为geojson
  • 微服务与消息队列RabbitMQ
  • Windows控制台函数:控制台窗口设置函数system(“mode con ...“)
  • 【Python】omegaconf 用法详解