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

自动生成的类名Solution容易重复导致本地编译报错

Open sunshine98 opened this issue 3 years ago • 1 comments

插件对于每一个题目生成的java类名称都叫Solution,造成想在本地调试时,会一直报: java: 类重复: Solution 我的想法是能不能在Solution后面加上题目的ID,例如第11题生成的java类名就叫:Solution11 尽量避免冲突呢?

sunshine98 avatar Aug 27 '22 10:08 sunshine98

参考自定义代码

shuzijun avatar Aug 29 '22 02:08 shuzijun

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

github-actions[bot] avatar Oct 25 '22 03:10 github-actions[bot]