Bootstrap

idea 配置 leetcode插件 代码模版

开启自定义模版
在这里插入图片描述
codeFileName:

$!velocityTool.camelCaseName(${question.titleSlug})

Code Template:

${question.content}
package leetcode.editor.cn;
/**
 * ${question.title}
 * @author lww
 * @since $!velocityTool.date()
 */
public class $!velocityTool.camelCaseName(${question.titleSlug}) {
    public static void main(String[] args) {
        Solution solution = new $!velocityTool.camelCaseName(${question.titleSlug})().new Solution();
    }
     /**
     * Solution
     */
${question.code}
}
;