Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ForsakenDelusion opened this issue Mar 28, 2024 · 4 comments
Open

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

ForsakenDelusion opened this issue Mar 28, 2024 · 4 comments

Comments

@ForsakenDelusion
Copy link

🐛 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
@ccagml
Copy link
Owner

ccagml commented Mar 28, 2024

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

@ccagml
Copy link
Owner

ccagml commented Mar 28, 2024

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

@ForsakenDelusion
Copy link
Author

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

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

@ccagml
Copy link
Owner

ccagml commented Apr 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants