Skip to content
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

请问如何将题目按照类型进行分类? #711

Open
ghost opened this issue Apr 5, 2024 · 1 comment
Open

请问如何将题目按照类型进行分类? #711

ghost opened this issue Apr 5, 2024 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 5, 2024

Desc

请问如何将题目按照类型进行分类?我试过在leetcode.editor.cn包下建立不同类型的子包,但是在将.java文件从leetcode.editor.cn包下移动到leetcode.editor.cn包中的子包后,该文件就成了一个普通的.java文件,无法Run Code 或者Submit

@shuzijun
Copy link
Owner

shuzijun commented Apr 7, 2024

根据存储路径识别的是否为插件创建的文件,移动路径后无法识别。
参考自定义代码生成介绍,通过使用占位符配置CodeFileName来区分文件夹。例如${question.titleSlug}/${question.titleSlug},将会生成two-sum/two-sum.java路径的文件。但是现在没有题目类型,你需要根据自己的规则开发一个分类工具

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

1 participant