File tree 6 files changed +31
-9
lines changed
java/com/shuzijun/leetcode/plugin/setting
6 files changed +31
-9
lines changed Original file line number Diff line number Diff line change 1
- <p align =" center " >
2
- <img src =" https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/2020.jpg " alt =" Happy New Year " />
3
- </p >
4
-
5
1
# leetcode-editor
6
2
7
3
- [ English Document] ( #Introduction )
8
4
- [ 中文文档] ( https://github.com/shuzijun/leetcode-editor/blob/master/README_ZH.md )
9
5
6
+ - Useful Links
7
+ - [ Login Help] ( https://github.com/shuzijun/leetcode-editor/blob/master/doc/LoginHelp.md )
8
+ - [ Custom Code] ( https://github.com/shuzijun/leetcode-editor/blob/master/doc/CustomCode.md ) ([ demo] ( https://github.com/shuzijun/leetcode-question ) )
9
+
10
10
## Introduction
11
11
Do Leetcode exercises in IDE, support ` leetcode.com ` and ` leetcode-cn.com ` , to meet the basic needs of doing exercises.
12
12
Support theoretically: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio.
40
40
- ** ` Password ` ** : Login password
41
41
- ** ` Temp File Path ` ** : Temporary file storage catalogue
42
42
- ** ` proxy(HTTP Proxy) ` ** : HTTP Proxy,config path:` File ` -> ` settings ` ->` Appearance & Behavior ` ->` System Settings ` ->` HTTP Proxy `
43
- - ** ` Custom code template ` ** : Custom code template ([ details] ( https://github.com/shuzijun/leetcode-editor/blob/master/doc/CustomCode.md ) )([ demo] ( https://github.com/shuzijun/leetcode-question ) )
43
+ - ** ` Custom code template ` ** : Custom code template ([ details] ( https://github.com/shuzijun/leetcode-editor/blob/master/doc/CustomCode.md ) ) ([ demo] ( https://github.com/shuzijun/leetcode-question ) )
44
44
- ** ` LevelColour ` ** : Customize the difficulty color of the question, it will take effect after restart
45
45
46
46
### Window (Icon in the lower right corner of the main window![ icon] ( https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/LeetCodeIcon.png ) )
Original file line number Diff line number Diff line change 2
2
3
3
- [ English Document] ( https://github.com/shuzijun/leetcode-editor/blob/master/README.md )
4
4
- [ 中文文档] ( #简介 )
5
+
6
+ - 有用的链接
7
+ - [ 登录帮助] ( https://github.com/shuzijun/leetcode-editor/blob/master/doc/LoginHelp_ZH.md )
8
+ - [ 自定义代码生成] ( https://github.com/shuzijun/leetcode-editor/blob/master/doc/CustomCode_ZH.md ) ([ 示例] ( https://github.com/shuzijun/leetcode-question ) )
5
9
6
10
## 简介
7
11
在IDE中解决LeetCode问题,支持` leetcode.com ` 与` leetcode-cn.com ` ,满足基本的做题需求。
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
5
5
}
6
6
7
7
group ' com.shuzijun.leetcode'
8
- version " 6.3 " + (project. build_env. isEmpty() ? " " : " -" ) + project. build_env
8
+ version " 6.4 " + (project. build_env. isEmpty() ? " " : " -" ) + project. build_env
9
9
10
10
sourceCompatibility = 1.8
11
11
targetCompatibility = 1.8
Original file line number Diff line number Diff line change 301
301
<grid id =" 3dd05" binding =" codeTemplate" layout-manager =" BorderLayout" hgap =" 0" vgap =" 0" >
302
302
<constraints >
303
303
<grid row =" 9" column =" 1" row-span =" 1" col-span =" 10" vsize-policy =" 3" hsize-policy =" 3" anchor =" 0" fill =" 3" indent =" 0" use-parent-layout =" false" >
304
+ <preferred-size width =" -1" height =" 200" />
304
305
<maximum-size width =" -1" height =" 200" />
305
306
</grid >
306
307
</constraints >
Original file line number Diff line number Diff line change @@ -85,11 +85,13 @@ public void initUI() {
85
85
JCEFFileField .setText (PathManager .getPluginsPath () + File .separator + "leetcode-editor" + File .separator + "natives" + File .separator );
86
86
87
87
customCodeBox .addActionListener (new DonateListener (customCodeBox ));
88
-
88
+ proxyCheckBox . setSelected ( HttpConfigurable . getInstance (). USE_HTTP_PROXY || HttpConfigurable . getInstance (). USE_PROXY_PAC );
89
89
proxyCheckBox .addMouseListener (new MouseAdapter (){
90
90
@ Override
91
91
public void mouseClicked (MouseEvent e ) {
92
- HttpConfigurable .editConfigurable (mainPanel );
92
+ if (HttpConfigurable .editConfigurable (mainPanel )){
93
+ proxyCheckBox .setSelected (HttpConfigurable .getInstance ().USE_HTTP_PROXY || HttpConfigurable .getInstance ().USE_PROXY_PAC );
94
+ }
93
95
}
94
96
});
95
97
Original file line number Diff line number Diff line change 1
1
<idea-plugin >
2
2
<id >leetcode-editor</id >
3
3
<name >leetcode editor</name >
4
- <version >6.3 </version >
4
+ <version >6.4 </version >
5
5
<vendor email =" shuzijun0109@gmail.com" url =" https://github.com/shuzijun/idea-leetcode-plugin" >shuzijun</vendor >
6
6
7
7
<description ><![CDATA[
113
113
114
114
<change-notes ><![CDATA[
115
115
<ul>
116
+ <li>v6.4<br>
117
+ 1.替换代理方式,与IDE保持一致.<br>
118
+ 2.增加转换蛇形命名.<br>
119
+ 3.导航栏增加展示登录人名称.<br>
120
+ 4.增加查看解决方案.<br>
121
+ 5.增加查看进展.<br>
122
+ </li>
123
+ <li>v6.4<br>
124
+ 1.Replace the proxy mode.<br>
125
+ 2.add snakeCaseName.<br>
126
+ 3.Navigation bar displays login information.<br>
127
+ 4.Add open solution.<br>
128
+ 5.add Progress.<br>
129
+ </li>
130
+ <br>
116
131
<li>v6.3<br>
117
132
1.修复Python提交代码区域错误问题.<br>
118
133
2.修复使用快捷键时提示问题.(建议将快捷键绑定到editor右键菜单上)<br>
You can’t perform that action at this time.
0 commit comments