安装leetcode插件

leetcode插件配置


- Code FileName:
$!velocityTool.camelCaseName(${question.titleSlug}) - Code Template:
${question.content}
package leetcode.editor.cn;
/**
* ${question.title}
* @author
* @date $!velocityTool.date()
*/
public class $!velocityTool.camelCaseName(${question.titleSlug}){
public static void main(String[] args) {
//测试代码
Solution solution = new $!velocityTool.camelCaseName(${question.titleSlug})().new Solution();
}
${question.code}
}
生成模板示例:

登录











