Open zeroarst opened 4 months ago
Hi, @zeroarst . I met the same problem. All I did to solve it is as follows:
Setting
-> LeetCode Plugin
2.1. Select Kotlin
in CodeType
;
2.2. Change the TempFilePath
to your project, for me is F:\Projects\leetcode\src\main\kotlin\com\example;
2.3. Enable the Custom Template
, and set the Code Template
to what you like and comply with the kotlin project pattern, for me is
${question.content}
package com.example.leetcode.editor.cn;
fun main(){
} ${question.code}
3. Enjoy your coding time!😎
I have customized color scheme. It works fine on my project. But for leetcode Kotlin files, it does not apply those colors. Leetcode Kotlin file
Project Kotlin file.
Does anyone know how to fix that?