0
点赞
收藏
分享

微信扫一扫

IDEA配置leetcode插件

上古神龙 2022-03-30 阅读 44

安装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}
}

生成模板示例:
在这里插入图片描述

登录

在这里插入图片描述

举报

相关推荐

0 条评论