# LeetCode **Repository Path**: lemonkl/leet-code ## Basic Information - **Project Name**: LeetCode - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-11 - **Last Updated**: 2022-04-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## IDEA 安装插件 插件名称:`leetcode-editor` 参考:https://github.com/shuzijun/leetcode-editor ## IDEA 配置 ### 匹配用户 ``` Settings -> Tools -> leetcode plugin 填写 LoginName 使用Leecode的用户名和密码 ``` ### TempFilePath ``` LeetCode\src\main\java\ ``` ### Custom Template 选中 `Custom Template` ### CodeFileName ``` $!velocityTool.camelCaseName(${question.titleSlug})_${question.frontendQuestionId} ``` ### CodeTemplate ``` ${question.content} package leetcode.editor.cn; //Java:${question.title} public class $!velocityTool.camelCaseName(${question.titleSlug})_${question.frontendQuestionId}{ public static void main(String[] args) { Solution solution = new $!velocityTool.camelCaseName(${question.titleSlug})_${question.frontendQuestionId}().new Solution(); // TO TEST } ${question.code} } ```