leetcode-extension icon indicating copy to clipboard operation
leetcode-extension copied to clipboard

资源管理树中并不会按照难度显示颜色

Open ForsakenDelusion opened this issue 11 months ago • 4 comments

🐛 Bug Report(错误报告)

资源管理树中并不会按照难度显示颜色

9c146af45fe8f0b345c28d3efd3a007f 1d3313781681f319cf8068d3f0bea7c5

To Reproduce(重现)

这是我的file path {4C3A1165-45B8-4523-B9E6-A92952C3B8BA}

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

ForsakenDelusion avatar Mar 28 '24 03:03 ForsakenDelusion

原来官方插件这个的上色,是在插件里面点开的那个资源管理器 你图中vscode的资源管理器这里的文件也能上色吗?

ccagml avatar Mar 28 '24 14:03 ccagml

看起来可以实现,不过要通过现有的文件名反推出匹配不匹配配置中的filename规则好像很麻烦

ccagml avatar Mar 28 '24 16:03 ccagml

原来官方插件这个的上色,是在插件里面点开的那个资源管理器 你图中vscode的资源管理器这里的文件也能上色吗?

插件那里倒是能正常显示没问题,还有一个问题想请教一下,就是在设置filepath的时候${name}的题目名称在文件夹中为啥会是英文版本的,请问可以变成中文版本吗。感谢大佬了,非常非常棒的插件

ForsakenDelusion avatar Mar 29 '24 13:03 ForsakenDelusion

${cn_name}题目的中文名称 中文用这个试试

ccagml avatar Apr 08 '24 05:04 ccagml