leetcode-extension
leetcode-extension copied to clipboard
资源管理树中并不会按照难度显示颜色
🐛 Bug Report(错误报告)
资源管理树中并不会按照难度显示颜色
To Reproduce(重现)
这是我的file path
Expected behavior(预期行为)
正常显示颜色
Your Environment
- os(操作系统):
- extension settings(扩展设置):"leetcode.hint.configWebviewMarkdown": false, "leetcode.defaultLanguage": "java", "leetcode.hint.commentDescription": false, "leetcode.hint.commandShortcut": false, "leetcode.editor.shortcuts": [ "submit", "test", "description" ], "leetcode-problem-rating.cppCompiler": "clang", "leetcode-problem-rating.defaultLanguage": "java", "leetcode-problem-rating.editor.shortcuts": [ "submit", "case", "allcase", "test", "retest", "solution", "debug", "description" ], "leetcode-problem-rating.filePath": { "default": { "folder": "${id}.${name}/${id}.${name}-${ext}", "filename": "${id}.${kebab-case-name}.${ext}" } }, "leetcode-problem-rating.hint.commandShortcut": false, "leetcode-problem-rating.hint.configWebviewMarkdown": false, "leetcode-problem-rating.hint.commentDescription": false, }
- nodejs version(nodejs 版本):v20.11.1
- vscode version(vscode 版本):1.87.2
- extension version(扩展版本):3.1.21
原来官方插件这个的上色,是在插件里面点开的那个资源管理器 你图中vscode的资源管理器这里的文件也能上色吗?
看起来可以实现,不过要通过现有的文件名反推出匹配不匹配配置中的filename规则好像很麻烦
原来官方插件这个的上色,是在插件里面点开的那个资源管理器 你图中vscode的资源管理器这里的文件也能上色吗?
插件那里倒是能正常显示没问题,还有一个问题想请教一下,就是在设置filepath的时候${name}的题目名称在文件夹中为啥会是英文版本的,请问可以变成中文版本吗。感谢大佬了,非常非常棒的插件
${cn_name}题目的中文名称 中文用这个试试