主题下载 找Android Studio的或者JetBrains相关的主题。
然后需要手动修改函数颜色,type颜色,备注颜色等
打开settings.json 如下。其中scope 可以gpt或者其他方式搜索。
还可以ctrl + shift + p 输入:
Developer: Inspect Editor Tokens and Scopes
回车,然后鼠标放到你想修改的scope即可看到对应的值
{
  "workbench.colorTheme": "JetBrains Rider New UI Light",
  "workbench.iconTheme": "vscode-jetbrains-icon-theme-2023-light",
  "editor.fontFamily": "JetBrains Mono",
  "editor.fontLigatures": true,
  "tabnine.experimentalAutoImports": true,
  "clangd.detectExtensionConflicts": false,
  "makefile.configureOnOpen": true,
  "editor.fontSize": 15,
  "editor.lineHeight": 22,
  "editor.fontVariations": true,
  "editor.fontWeight": "normal",
  "editor.tokenColorCustomizations": {
    "[JetBrains Rider New UI Light]": { // 确保主题名称匹配
      "textMateRules": [
        {
          "scope": [
            "entity.name.function", // 函数名(如 `function foo()`)
            "meta.method-call", // 方法调用(如 `obj.method()`)
            "support.function", // 内置函数(如 `console.log`)
          ],
          "settings": {
            "foreground": "#313030", // 修改颜色(替换为你想要的颜色)
          }
        },
        {
          "scope": [
            "string",
          ],
          "settings": {
            "foreground": "#008848",
            // "fontStyle": "italic"
          }
        },
        {
          "scope": [
            "comment.line.double-slash",
            "punctuation.definition.comment",
            "comment.block",
          ],
          "settings": {
            "foreground": "#9f9f9f",
            "fontStyle": "italic"
          }
        },
        {
          "scope": [
            "variable.other.enummember.c",
          ],
          "settings": {
            "foreground": "#7003ac",
            "fontStyle": "italic"
          }
        },
        {
          "scope": [
            "entity.name.type",
          ],
          "settings": {
            "foreground": "#22005e",
          }
        }
      ]
    }
  },
}
此处备份下,免得后面修改还得搜很多,也给有需要的参考下。
 
                   
                   
                   
                   
       
           
                 
                 
                 
                 
                 
                
               
                 
                 
                 
                 
                
               
                 
                 扫一扫
扫一扫
                     
              
             
                   1201
					1201
					
 被折叠的  条评论
		 为什么被折叠?
被折叠的  条评论
		 为什么被折叠?
		 
		  到【灌水乐园】发言
到【灌水乐园】发言                                
		 
		 
    
   
    
   
             
            


 
            