Skip to content

Commit 136e6ef

Browse files
committed
doc
1 parent a80d9c8 commit 136e6ef

File tree

1 file changed

+116
-52
lines changed

1 file changed

+116
-52
lines changed

README_ZH.md

Lines changed: 116 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,50 @@
1-
# leetcode-editor [![Release](https://github.com/shuzijun/leetcode-editor/workflows/Release/badge.svg)](https://github.com/shuzijun/leetcode-editor/releases) [![Snapshot](https://github.com/shuzijun/leetcode-editor/workflows/Snapshot/badge.svg)](https://github.com/shuzijun/leetcode-editor/actions?query=workflow%3ASnapshot)
1+
# [![Leetcode Editor][plugin-logo]][gh:leetcode-editor] Leetcode Editor
2+
3+
[![Release][badge:release]][gh:releases]
4+
[![Snapshot][badge:snapshot]][gh:snapshot]
5+
[![License][badge:license]][gh:license]
6+
[![Plugin Homepage][badge:plugin-homepage]][plugin-homepage]
7+
[![Version][badge:version]][plugin-versions]
8+
[![Pro Plugin Homepage][badge:plugin-homepage-pro]][plugin-homepage-pro]
9+
[![Version][badge:pro-version]][plugin-versions-pro]
10+
[![Downloads][badge:downloads]][plugin-homepage]
11+
[![English Document][badge:en-doc]][gh:en-doc]
12+
[![中文文档][badge:zh-doc]][gh:zh-doc]
13+
[![捐赠][badge:donate]][shuzijun-donate]
14+
[![中文文档][badge:referrals]][shuzijun-referrals]
15+
16+
<p align="center"><img src="https://s1.imagehub.cc/images/2022/07/10/leetcode-demo.gif" alt="demo" style="width: auto;height: auto;max-width: 90%; max-height: 90%;"></p>
17+
---
218

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-
1019
## 简介
11-
在IDE中解决LeetCode问题,支持`leetcode.com``leetcode.cn`,满足基本的做题需求。
12-
理论上支持: 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)
20+
在IDE中解决LeetCode问题,支持`leetcode.com``leetcode.cn`,满足做题和调试的需求。
21+
理论上支持: **IntelliJ IDEA**,**PhpStorm**,**WebStorm**,**PyCharm**,**RubyMine**,**AppCode**,**CLion**,**GoLand**,**DataGrip**,**Rider MPS**,**Android Studio**
1422

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>
23+
- [English Document][gh:en-doc]
24+
- [中文文档][gh:zh-doc]
25+
26+
- 有用的链接
27+
- [登录帮助][gh:login-help]
28+
- [自定义代码生成][gh:custom-code-zh] ([示例][gh:leetcode-question])
29+
30+
31+
## 开始使用
32+
<p align="center"><img src="https://cdn.jsdelivr.net/gh/shuzijun/leetcode-editor@sync/doc/leetcode-editor-3.0.gif" alt="start" style="width: auto;height: auto;max-width: 90%; max-height: 90%;"></p>
33+
2034

2135
## 本地调试
22-
<p align="center">
23-
<img src="https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/customConfig-100.gif" alt="demo"/>
24-
</p>
36+
<p align="center"><img src="https://cdn.jsdelivr.net/gh/shuzijun/leetcode-editor@sync/doc/customConfig-100.gif" alt="loacl" style="width: auto;height: auto;max-width: 90%; max-height: 90%;"></p>
37+
2538

2639
### 安装
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)
40+
- **通过插件库安装** [leetcode-editor][plugin-homepage]
41+
- **下载文件安装** [releases][gh:releases]
42+
- **如果您想捐助此项目,可以选择Pro版本** [leetcode-editor-pro][plugin-homepage-pro]
3043

3144
### 配置(第一次安装需要先配置)
3245

33-
<p align="center">
34-
<img src="https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/config-3.0.png" alt="settings"/>
35-
</p>
46+
<p align="center"><img src="https://cdn.jsdelivr.net/gh/shuzijun/leetcode-editor@sync/doc/config-3.0.jpg" alt="config" style="width: auto;height: auto;max-width: 90%; max-height: 90%;"></p>
47+
3648

3749
- **配置路径**: `File` -> `settings`->`tools`->`leetcode plugin`
3850
- **`URL可选项`**: `leetcode.com``leetcode.cn`
@@ -45,33 +57,24 @@
4557
- **`LevelColour`**: 自定义题目难度颜色,重启后生效
4658
- **`English Content`**: 题目显示英文描述
4759

48-
### 窗口(主窗口右下角![icon](https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/LeetCodeIcon.png))
49-
50-
<p align="center">
51-
<img src="https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/window-3.0.png" alt="window"/>
52-
</p>
60+
### 窗口(主窗口右下角![icon][icon:leetcode])
61+
62+
<p align="center"><img src="https://cdn.jsdelivr.net/gh/shuzijun/leetcode-editor@sync/doc/window-3.0.jpg" alt="window" style="width: auto;height: auto;max-width: 90%; max-height: 90%;"></p>
5363

5464
- **工具栏**:
55-
- ![login](https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/login.png)**`登录`**:两个网站的登录帐号不互通,切换网站需配置对应的用户
56-
- ![logout](https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/logout.png)**`退出`**:退出当前账户,如遇到登录错误,尝试先进行退出
57-
- ![refresh](https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/refresh.png)**`刷新`**:在未登录的情况下也可查看刷新加载题目,但是无法提交
58-
- ![find](https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/find.png)**`查找`**:输入内容后回车搜索,再次回车搜索下一个,只会搜索题库节点下
59-
- ![collapse](https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/collapseAll.png)**`折叠`**:折叠全部节点.
60-
- ![config](https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/config.png)**`配置`**:快捷跳转到配置界面
61-
- ![clear](https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/clear.png)**`清理`**:清理配置的缓存目录下的文件,两个网站对应的缓存目录不同,只会清理当前配置的网站下的。部分题目未提交的情况下慎重清理
62-
63-
- ****:
64-
- **`Problems`**:全部题目
65-
- **`Difficulty`**:难度分类
66-
- **`Tags`**:类型分类
67-
- **`Explore`**:探索内容,只包含题目,收费内容不支持;部分题目加载有顺序限制
68-
- **`颜色`**:题目颜色代表题目难度
69-
- **`符号`**:题目前````代表当前题目解答状态,探索下有 `$` 开头的为付费或者其他情况下无法查看的
70-
65+
- ![login][icon:login]**`登录`**:两个网站的登录帐号不互通,切换网站需配置对应的用户
66+
- ![logout][icon:logout]**`退出`**:退出当前账户,如遇到登录错误,尝试先进行退出
67+
- ![refresh][icon:refresh]**`刷新`**:在未登录的情况下也可查看刷新加载题目,但是无法提交
68+
- ![pick][icon:pick]**`随机`**:随机一个题目
69+
- ![find][icon:find]**`查找`**:打开筛选面板,可以进行搜索、过滤或者排序.
70+
- ![progress][icon:progress]**`会话`**:打开进度面板,可以查看或者切换进度.
71+
- ![toggle][icon:toggle]**`切换列表`**:切换到其他列表窗口,包括"所有题目列表"、"分页题目列表"、"CodeTop题目列表".
72+
- ![config][icon:config]**`配置`**:快捷跳转到配置界面
73+
- ![clear][icon:clear]**`清理`**:清理配置的缓存目录下的文件,两个网站对应的缓存目录不同,只会清理当前配置的网站下的。部分题目未提交的情况下慎重清理
74+
7175
### 菜单
72-
<p align="center">
73-
<img src="https://raw.githubusercontent.com/shuzijun/leetcode-editor/master/doc/menu-3.0.png" alt="menu"/>
74-
</p>
76+
<p align="center"><img src="https://cdn.jsdelivr.net/gh/shuzijun/leetcode-editor@sync/doc/menu-3.0.jpg" alt="menu" style="width: auto;height: auto;max-width: 90%; max-height: 90%;"></p>
77+
7578

7679
- **菜单(在题目上右击出现)**:
7780
- **`open question`**:打开题目,在题目上双击也可以打开
@@ -83,9 +86,70 @@
8386
- **`favorite`**:添加或移除收藏
8487
- **`Clear cache`**:清理当前题目
8588
- **`Timer`**:计时器,开启后在右下角状态栏提示解题时间
86-
89+
<br>
8790
- **Editor菜单(在Editor上右击出现)**:
88-
功能同上
91+
功能同上
92+
<br>
93+
- **问题编辑器**:
94+
- **`Content`**:查看描述,包含图片
95+
- **`Solution`**:查看解答
96+
- **`Submissions`**:查看提交记录
97+
- **`Note`**:查看笔记
8998

9099
### 常见问题
91-
[常见问题](https://github.com/shuzijun/leetcode-editor/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
100+
[常见问题][gh:question]
101+
102+
### 支持和捐赠
103+
* [捐赠][shuzijun-donate]
104+
* [内推][shuzijun-referrals]
105+
106+
107+
[plugin-logo]: https://cdn.jsdelivr.net/gh/shuzijun/leetcode-editor@master/src/main/resources/META-INF/pluginIcon.svg
108+
109+
[badge:plugin-homepage]: https://img.shields.io/badge/Plugin%20Home-Leetcode%20Editor-blue?logo=jetbrains&style=flat-square
110+
[badge:plugin-homepage-pro]: https://img.shields.io/badge/Pro%20Plugin%20Home-Leetcode%20Editor%20Pro-blue?logo=jetbrains&style=flat-square&color=blueviolet
111+
[badge:release]: https://img.shields.io/github/workflow/status/shuzijun/leetcode-editor/Release?style=flat-square&logo=github&label=Build
112+
[badge:snapshot]: https://img.shields.io/github/workflow/status/shuzijun/leetcode-editor/Snapshot?style=flat-square&logo=github&label=Build
113+
[badge:license]: https://img.shields.io/github/license/shuzijun/leetcode-editor.svg?style=flat-square&&label=License
114+
[badge:downloads]: https://img.shields.io/jetbrains/plugin/d/12132?style=flat-square&label=Plugin%20Downloads&logo=jetbrains
115+
[badge:version]: https://img.shields.io/jetbrains/plugin/v/12132?label=Plugin%20Version&logo=jetbrains&style=flat-square
116+
[badge:pro-version]: https://img.shields.io/jetbrains/plugin/v/17166?label=Pro%20Plugin%20Version&logo=jetbrains&style=flat-square&color=blueviolet
117+
[badge:en-doc]: https://img.shields.io/badge/Docs-English%20Document-blue?logo=docs&style=flat-square
118+
[badge:zh-doc]: https://img.shields.io/badge/Docs-中文文档-blue?logo=docs&style=flat-square
119+
[badge:donate]: https://img.shields.io/badge/Docs-捐赠-blue?logo=docs&style=flat-square
120+
[badge:referrals]: https://img.shields.io/badge/Docs-内推-blue?logo=docs&style=flat-square
121+
122+
123+
[icon:leetcode]: https://cdn.jsdelivr.net/gh/shuzijun/leetcode-editor@master/src/main/resources/icons/LeetCode_dark.svg
124+
[icon:login]: https://cdn.jsdelivr.net/gh/shuzijun/leetcode-editor@master/src/main/resources/icons/login_dark.svg
125+
[icon:logout]: https://cdn.jsdelivr.net/gh/shuzijun/leetcode-editor@master/src/main/resources/icons/logout_dark.svg
126+
[icon:refresh]: https://cdn.jsdelivr.net/gh/shuzijun/leetcode-editor@master/src/main/resources/icons/refresh_dark.svg
127+
[icon:pick]: https://cdn.jsdelivr.net/gh/shuzijun/leetcode-editor@master/src/main/resources/icons/random_dark.svg
128+
[icon:find]: https://cdn.jsdelivr.net/gh/shuzijun/leetcode-editor@master/src/main/resources/icons/find_dark.svg
129+
[icon:progress]: https://cdn.jsdelivr.net/gh/shuzijun/leetcode-editor@master/src/main/resources/icons/progress_dark.svg
130+
[icon:toggle]: https://cdn.jsdelivr.net/gh/shuzijun/leetcode-editor@sync/src/main/resources/icons/toggle_dark.svg
131+
[icon:config]: https://cdn.jsdelivr.net/gh/shuzijun/leetcode-editor@sync/src/main/resources/icons/config_lc_dark.svg
132+
[icon:clear]: https://cdn.jsdelivr.net/gh/shuzijun/leetcode-editor@master/src/main/resources/icons/clear_dark.svg
133+
134+
135+
136+
[gh:leetcode-editor]: https://github.com/shuzijun/leetcode-editor
137+
[gh:releases]: https://github.com/shuzijun/leetcode-editor/releases
138+
[gh:snapshot]: https://github.com/shuzijun/leetcode-editor/actions?query=workflow%3ASnapshot
139+
[gh:license]: https://github.com/shuzijun/leetcode-editor/blob/master/LICENSE
140+
[gh:en-doc]: https://github.com/shuzijun/leetcode-editor/blob/master/README.md
141+
[gh:zh-doc]: #简介
142+
[gh:login-help]: https://github.com/shuzijun/leetcode-editor/blob/master/doc/LoginHelp_ZH.md
143+
[gh:custom-code-zh]: https://github.com/shuzijun/leetcode-editor/blob/master/doc/LoginHelp_ZH.md
144+
[gh:leetcode-question]: https://github.com/shuzijun/leetcode-question
145+
[gh:question]: https://github.com/shuzijun/leetcode-editor/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98
146+
147+
[plugin-homepage]: https://plugins.jetbrains.com/plugin/12132-leetcode-editor
148+
[plugin-versions]: https://plugins.jetbrains.com/plugin/12132-leetcode-editor/versions
149+
[plugin-homepage-pro]: https://plugins.jetbrains.com/plugin/17166-leetcode-editor-pro
150+
[plugin-versions-pro]: https://plugins.jetbrains.com/plugin/17166-leetcode-editor-pro/versions
151+
152+
[shuzijun-donate]: https://shuzijun.cn/donate.html
153+
[shuzijun-referrals]: https://shuzijun.cn/referrals.html
154+
155+
[image:demo]:

0 commit comments

Comments
 (0)