Java教程

java idea leetcode配置

本文主要是介绍java idea leetcode配置,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

 

TemplatePath: ${your project parent dir}\${your project name}\src\main\java\com\${your name}

 

Code FileName: Item$!velocityTool.leftPadZeros(${question.frontendQuestionId},4)$!velocityTool.camelCaseName(${question.titleSlug})

 

Code Template:

package com.${your name}.leetcode.editor.cn;

/**
* ${question.title}
* @author ${your name}
* @since $!velocityTool.date()
**/

${question.content}

public class Item$!velocityTool.leftPadZeros(${question.frontendQuestionId},4)$!velocityTool.camelCaseName(${question.titleSlug}){
public static void main(String[] args) {
Solution solution = new Item$!velocityTool.leftPadZeros(${question.frontendQuestionId},4)$!velocityTool.camelCaseName(${question.titleSlug})().new Solution();
}
${question.code}
}

  

 

这篇关于java idea leetcode配置的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!