ccagml / leetcode-extension

Solved LeetCode problem in VS Code added some new features
https://marketplace.visualstudio.com/items?itemName=ccagml.vscode-leetcode-problem-rating
MIT License
273 stars 28 forks source link

请问如何一键清空代码呢? #328

Open simitsu opened 4 months ago

simitsu commented 4 months ago

🐛 Bug Report(错误报告)

A clear and concise description of what the bug is.(清晰简洁地描述错误是什么。)

To Reproduce(重现)

Steps to reproduce the behavior.(重现的步骤。)

Expected behavior(预期行为)

A clear and concise description of what you expected to happen.(对您期望发生的事情进行清晰简洁的描述。)

Extension Output(扩展输出)

Paste here the LeetCode extension log from output channel.(将输出通道中的 LeetCode 扩展日志粘贴到此处。)

Guidance: Press Ctrl+Shift+U, and toggle the channel to LeetCode.(按Ctrl+Shift+U,将频道切换到LeetCode。)

Your Environment

ccagml commented 4 months ago

如果是重复做题 https://github.com/ccagml/leetcode-extension/issues/124 我是在vscode配置加上${yyyymmdd},比如https://github.com/ccagml/leetcode_bricks/blob/main/.vscode/settings.json

"leetcode-problem-rating.filePath": {
    "default": {
        "folder": "",
        "filename": "${id}._${score}_${kebab-case-name}_${yyyymmdd}.${ext}"
    }
},