|
1 | | -# leetcode-editor [](https://github.com/shuzijun/leetcode-editor/releases) [](https://github.com/shuzijun/leetcode-editor/actions?query=workflow%3ASnapshot) |
2 | | - |
3 | | - - [English Document](https://github.com/shuzijun/leetcode-editor/blob/master/README.md) |
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)) |
9 | | - |
10 | | -## 简介 |
| 1 | + |
| 2 | +## Leetcode editor简介 |
11 | 3 | 在IDE中解决LeetCode问题,支持`leetcode.com`与`leetcode-cn.com`,满足基本的做题需求。
|
12 | 4 | 理论上支持: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio。
|
13 | | - [be with you!](http://shuzijun.cn/leetcode-editor/monitor.html) |
14 | | - |
15 | | - |
16 | | -## 使用方式 |
17 | | -<p align="center"> |
18 | | - <img src="https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/leetcode-editor-3.0.gif" alt="demo"/> |
19 | | -</p> |
20 | 5 |
|
21 | | -## 本地调试 |
22 | | -<p align="center"> |
23 | | - <img src="https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/customConfig-100.gif" alt="demo"/> |
24 | | -</p> |
25 | 6 |
|
26 | 7 | ### 安装
|
27 | | -- **通过插件库安装** [leetcode-editor](https://plugins.jetbrains.com/plugin/12132-leetcode-editor) |
28 | | -- **下载文件安装** [releases](https://github.com/shuzijun/leetcode-editor/releases) |
29 | | -- **如果您想捐助此项目,可以选择pro版本** [leetcode-editor-pro](https://plugins.jetbrains.com/plugin/17166-leetcode-editor-pro) |
| 8 | +- **通过插件库安装**  |
30 | 9 |
|
31 | 10 | ### 配置(第一次安装需要先配置)
|
32 | | - |
33 | | -<p align="center"> |
34 | | - <img src="https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/config-3.0.png" alt="settings"/> |
35 | | -</p> |
| 11 | +- **插件打开leetcode**  |
| 12 | + |
| 13 | +- **配置路径**: `File` -> `settings`->`tools`->`leetcode plugin`  |
36 | 14 |
|
37 | | -- **配置路径**: `File` -> `settings`->`tools`->`leetcode plugin` |
38 | 15 | - **`URL可选项`**: `leetcode.com`与`leetcode-cn.com`
|
39 | 16 | - **`Code Type`**: `Java`,`Python`,`C++`,`Python3`,`C`,`C#`,`JavaScript`,`Ruby`,`Swift`,`Go` ,`Scala`,`Kotlin`,`Rust`,`PHP`,`Bash`,`SQL`
|
40 | 17 | - **`LoginName`**: 登录用户名
|
41 | 18 | - **`Password`**: 登录密码
|
42 | 19 | - **`Temp File Path`**: 临时文件存放目录
|
43 | 20 | - **`proxy(HTTP Proxy)`**: 使用http代理,配置路径:`File` -> `settings`->`Appearance & Behavior`->`System Settings`->`HTTP Proxy`
|
44 | | - - **`Custom code template`**: 自定义代码生成模板 ([详细介绍](https://github.com/shuzijun/leetcode-editor/blob/master/doc/CustomCode_ZH.md))([示例](https://github.com/shuzijun/leetcode-question)) |
| 21 | + - **`Custom code template`**: 自定义代码生成模板 |
45 | 22 | - **`LevelColour`**: 自定义题目难度颜色,重启后生效
|
46 | 23 | - **`English Content`**: 题目显示英文描述
|
47 | 24 |
|
48 | | -### 窗口(主窗口右下角) |
| 25 | +### 窗口(主窗口右下角 |
49 | 26 |
|
50 | | -<p align="center"> |
51 | | - <img src="https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/window-3.0.png" alt="window"/> |
52 | | -</p> |
53 | 27 |
|
54 | 28 | - **工具栏**:
|
55 | | - - **`登录`**:两个网站的登录帐号不互通,切换网站需配置对应的用户 |
56 | | - - **`退出`**:退出当前账户,如遇到登录错误,尝试先进行退出 |
57 | | - - **`刷新`**:在未登录的情况下也可查看刷新加载题目,但是无法提交 |
58 | | - - **`查找`**:输入内容后回车搜索,再次回车搜索下一个,只会搜索题库节点下 |
59 | | - - **`折叠`**:折叠全部节点. |
60 | | - - **`配置`**:快捷跳转到配置界面 |
61 | | - - **`清理`**:清理配置的缓存目录下的文件,两个网站对应的缓存目录不同,只会清理当前配置的网站下的。部分题目未提交的情况下慎重清理 |
| 29 | + - **`登录`**:两个网站的登录帐号不互通,切换网站需配置对应的用户 |
| 30 | + - **`退出`**:退出当前账户,如遇到登录错误,尝试先进行退出 |
| 31 | + - **`刷新`**:在未登录的情况下也可查看刷新加载题目,但是无法提交 |
| 32 | + - **`查找`**:输入内容后回车搜索,再次回车搜索下一个,只会搜索题库节点下 |
| 33 | + - **`折叠`**:折叠全部节点. |
| 34 | + - **`配置`**:快捷跳转到配置界面 |
| 35 | + - **`清理`**:清理配置的缓存目录下的文件,两个网站对应的缓存目录不同,只会清理当前配置的网站下的。部分题目未提交的情况下慎重清理 |
| 36 | + |
| 37 | +- **树**:  |
62 | 38 |
|
63 | | -- **树**: |
64 | 39 | - **`Problems`**:全部题目
|
65 | 40 | - **`Difficulty`**:难度分类
|
66 | 41 | - **`Tags`**:类型分类
|
67 | 42 | - **`Explore`**:探索内容,只包含题目,收费内容不支持;部分题目加载有顺序限制
|
68 | 43 | - **`颜色`**:题目颜色代表题目难度
|
69 | 44 | - **`符号`**:题目前`√`与`?`代表当前题目解答状态,探索下有 `$` 开头的为付费或者其他情况下无法查看的
|
70 | 45 |
|
71 | | -### 菜单 |
72 | | -<p align="center"> |
73 | | - <img src="https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/menu-3.0.png" alt="menu"/> |
74 | | -</p> |
| 46 | +### 菜单 |
| 47 | + |
| 48 | +- **菜单(在题目上右击出现)**:  |
75 | 49 |
|
76 | | -- **菜单(在题目上右击出现)**: |
77 | 50 | - **`open question`**:打开题目,在题目上双击也可以打开
|
78 | 51 | - **`open content`**:查看描述,包含图片(依赖 Markdown)
|
79 | 52 | - **`Submit`**:提交题目
|
|
86 | 59 |
|
87 | 60 | - **Editor菜单(在Editor上右击出现)**:
|
88 | 61 | 功能同上
|
89 | | - |
90 | | -### 常见问题 |
91 | | - [常见问题](https://github.com/shuzijun/leetcode-editor/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98) |
0 commit comments