Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LiLittleCat committed Aug 9, 2022
1 parent 9eebaf7 commit e09b35d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
20 changes: 19 additions & 1 deletion DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,30 @@
<!-- Plugin description -->
Automatically inserts whitespace between CJK (Chinese, Japanese, Korean), half-width English, digit, and symbol characters.

When you select some text, the plugin will only space the selected text.
Otherwise, it will space the whole file.

### Usage
There are three ways to use this plugin to spacing:
- See editor popup menu > <kbd>Pangu Format</kbd>.
- See <kbd>Tools</kbd> > <kbd>Pangu Format</kbd>.
- Use <kbd>⌥ + ⇧ + P</kbd> / <kbd>Alt + Shift + P</kbd> .

If you find something is not working or missing, feel free to submit a PR on [GitHub repo](https://github.com/LiLittleCat/intellij-pangu).
If you find something is not working or missing, feel free to submit an issue on [GitHub repo](https://github.com/LiLittleCat/intellij-pangu).

---

自动在 CJK(中文、日文、韩文)、英文、数字和符号之间插入空格。

当你在文件中选中部分内容时,该插件只会在选中的部分进行空格插入。 没有选中时,该插件会在当前文件的所有文本进行空格插入。

### 使用方法
有三种方式使用此插件:
- 在编辑时右键弹出菜单中使用 > <kbd>Pangu Format</kbd>。
- 使用 <kbd>Tools</kbd> > <kbd>Pangu Format</kbd>。
- 使用快捷键 <kbd>⌥ + ⇧ + P</kbd> / <kbd>Alt + Shift + P</kbd>。


有任何问题或者建议,欢迎在 [GitHub repo](https://github.com/LiLittleCat/intellij-pangu) 提交 issue。

<!-- Plugin description end -->
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ Here are some examples:

## Usage
When you select some text, the plugin will only space the selected text.

Otherwise, it will space the whole file.

There are three ways to use this plugin to spacing:
Expand All @@ -55,7 +54,7 @@ There are three ways to use this plugin to spacing:

![Tools](example/Tools.png)

- use <kbd>⌥ + ⇧ + P</kbd> / <kbd>Alt + Shift + P</kbd> .
- Use <kbd>⌥ + ⇧ + P</kbd> / <kbd>Alt + Shift + P</kbd> .

## Thanks

Expand Down
8 changes: 3 additions & 5 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,11 @@

## 使用

当你在文件中选中部分内容时,该插件只会在选中的部分进行空格插入。
当你在文件中选中部分内容时,该插件只会在选中的部分进行空格插入。 没有选中时,该插件会在当前文件的所有文本进行空格插入。

没有选中时,该插件会在当前文件的所有文本进行空格插入。
有三种使用方式:

有三种方式:

- 在编辑器的弹出菜单中使用 <kbd>Pangu Format</kbd>。
- 在编辑时右键弹出菜单中使用 <kbd>Pangu Format</kbd>。

![EditorPopupMenu](example/EditorPopupMenu.png)

Expand Down

0 comments on commit e09b35d

Please sign in to comment.