VSCode主题颜色异常:Python文档字符串显示颜色错误求助
VSCode中Python文档字符串颜色异常:显示绿色而非默认橙色
不管使用Dark+还是Dark Modern主题,我的Python文档字符串(docstrings)都显示为绿色,而不是预期的默认橙色,截图如下:

我不确定问题原因,已经移除了之前安装的vibrancy插件并做了修复检查,还是没解决。下面是我的settings.json配置:
{ "files.autoSave": "afterDelay", "workbench.iconTheme": "vscode-icons", "glassit.alpha": 255, "vsicons.dontShowNewVersionMessage": true, "workbench.colorCustomizations": { "terminal.foreground":"#EEFFFF", "terminalCursor.background":"#EEFFFF", "terminalCursor.foreground":"#EEFFFF", "terminal.ansiBlack":"#212121", "terminal.ansiBlue":"#82AAFF", "terminal.ansiBrightBlack":"#4A4A4A", "terminal.ansiBrightBlue":"#d698c1", "terminal.ansiBrightCyan":"#89DDFF", "terminal.ansiBrightGreen":"#C3E88D", "terminal.ansiBrightMagenta":"#C792EA", "terminal.ansiBrightRed":"#F07178", "terminal.ansiBrightWhite":"#FFFFFF", "terminal.ansiBrightYellow":"#FFCB6B", "terminal.ansiCyan":"#89DDFF", "terminal.ansiGreen":"#C3E88D", "terminal.ansiMagenta":"#C792EA", "terminal.ansiRed":"#F07178", "terminal.ansiWhite":"#EEFFFF", "terminal.ansiYellow":"#FFCB6B" }, "[json]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[python]": { "editor.formatOnType": true }, "markdown-preview-enhanced.previewTheme": "github-dark.css", "markdown-preview-enhanced.codeBlockTheme": "atom-dark.css", "window.titleBarStyle": "custom", "php.validate.executablePath": "", "git.openRepositoryInParentFolders": "never", "extensions.ignoreRecommendations": true, "pasteImage.path": "${currentFileDir}/img/", "files.eol": "\n", "workbench.preferredHighContrastColorTheme": "Default Dark+", "workbench.colorTheme": "Default Dark+", }
如果需要其他信息,请告知。
内容的提问来源于stack exchange,提问作者Xiang
相关产品推荐
相关产品推荐

