Skip to content

使用${tag} 作为文件夹名称不生效 #159

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

Closed
CTCSU opened this issue Jan 26, 2023 · 1 comment · Fixed by #160
Closed

使用${tag} 作为文件夹名称不生效 #159

CTCSU opened this issue Jan 26, 2023 · 1 comment · Fixed by #160
Labels
bug Something isn't working

Comments

@CTCSU
Copy link

CTCSU commented Jan 26, 2023

🐛 Bug Report(错误报告)

通过search problem 选择题目时,文件夹名称配置的${tag} 不生效。

To Reproduce(重现)

我的关于leet code vscode 的配置:

  1. 配置
"leetcode-problem-rating.defaultLanguage": "java",
	"leetcode-problem-rating.endpoint": "leetcode-cn",
	"leetcode-problem-rating.filePath": {
		"default": {
			// file name
			"filename": "${id}.${kebab-case-name}.${ext}",
			// relative folder path
			"folder": ""
		},
		"java": {
			"filename": "${id}.${kebab-case-name}.${ext}",
			"folder": "${tag}-${difficulty}/java"
		}
	},
	"leetcode-problem-rating.hint.commandShortcut": false,
	"leetcode-problem-rating.hint.commentDescription": false,
	"leetcode-problem-rating.hint.configWebviewMarkdown": false,
	"leetcode-problem-rating.useEndpointTranslation": false,
	"leetcode-problem-rating.workspaceFolder": "d:\\.leetcode",
  1. search problem 选择其中一个题目,例如70. climbing stars
  2. 查看生成的文件及文件夹的属性,生成的文件夹名字为: ./-easy/java,预期带上tag 例如Dynamic Programming

Your Environment

  • os(操作系统): Windows
  • extension settings(扩展设置): 见重现步骤
  • nodejs version(nodejs版本): 16.11.0
  • vscode version(vscode版本): 1.74.3
  • extension version(扩展版本): 2.12.1
@ccagml ccagml linked a pull request Jan 26, 2023 that will close this issue
@ccagml ccagml added the bug Something isn't working label Jan 26, 2023
@ccagml
Copy link
Owner

ccagml commented Jan 26, 2023

@CTCSU 感谢!2.12.2

@ccagml ccagml closed this as completed Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants