Skip to content

Commit 813e95a

Browse files
authored
Merge pull request #159 from shuzijun/gradle
updated version
2 parents f5c3198 + 04ad1e4 commit 813e95a

File tree

6 files changed

+31
-9
lines changed

6 files changed

+31
-9
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
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-
51
# leetcode-editor
62

73
- [English Document](#Introduction)
84
- [中文文档](https://github.com/shuzijun/leetcode-editor/blob/master/README_ZH.md)
95

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+
1010
## Introduction
1111
Do Leetcode exercises in IDE, support `leetcode.com` and `leetcode-cn.com`, to meet the basic needs of doing exercises.
1212
Support theoretically: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio.
@@ -40,7 +40,7 @@
4040
- **`Password`**: Login password
4141
- **`Temp File Path`**: Temporary file storage catalogue
4242
- **`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))
4444
- **`LevelColour`**: Customize the difficulty color of the question, it will take effect after restart
4545

4646
### Window (Icon in the lower right corner of the main window![icon](https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/LeetCodeIcon.png))

README_ZH.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
- [English Document](https://github.com/shuzijun/leetcode-editor/blob/master/README.md)
44
- [中文文档](#简介)
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))
59

610
## 简介
711
在IDE中解决LeetCode问题,支持`leetcode.com``leetcode-cn.com`,满足基本的做题需求。

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
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
99

1010
sourceCompatibility = 1.8
1111
targetCompatibility = 1.8

src/main/java/com/shuzijun/leetcode/plugin/setting/SettingUI.form

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@
301301
<grid id="3dd05" binding="codeTemplate" layout-manager="BorderLayout" hgap="0" vgap="0">
302302
<constraints>
303303
<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"/>
304305
<maximum-size width="-1" height="200"/>
305306
</grid>
306307
</constraints>

src/main/java/com/shuzijun/leetcode/plugin/setting/SettingUI.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,13 @@ public void initUI() {
8585
JCEFFileField.setText(PathManager.getPluginsPath() + File.separator + "leetcode-editor" + File.separator + "natives" + File.separator);
8686

8787
customCodeBox.addActionListener(new DonateListener(customCodeBox));
88-
88+
proxyCheckBox.setSelected(HttpConfigurable.getInstance().USE_HTTP_PROXY || HttpConfigurable.getInstance().USE_PROXY_PAC);
8989
proxyCheckBox.addMouseListener(new MouseAdapter(){
9090
@Override
9191
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+
}
9395
}
9496
});
9597

src/main/resources/META-INF/plugin.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<idea-plugin>
22
<id>leetcode-editor</id>
33
<name>leetcode editor</name>
4-
<version>6.3</version>
4+
<version>6.4</version>
55
<vendor email="shuzijun0109@gmail.com" url="https://github.com/shuzijun/idea-leetcode-plugin">shuzijun</vendor>
66

77
<description><![CDATA[
@@ -113,6 +113,21 @@
113113

114114
<change-notes><![CDATA[
115115
<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>
116131
<li>v6.3<br>
117132
1.修复Python提交代码区域错误问题.<br>
118133
2.修复使用快捷键时提示问题.(建议将快捷键绑定到editor右键菜单上)<br>

0 commit comments

Comments
 (0)