Skip to content

Commit 12647a1

Browse files
committed
Update README.md
1 parent dae4e76 commit 12647a1

File tree

1 file changed

+33
-15
lines changed

1 file changed

+33
-15
lines changed

README.md

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,51 @@
44
[![release](https://img.shields.io/github/release/myaaghubi/Auto-Semicolon-VSCode.svg?style=for-the-badge&logo=github&logoColor=white&colorA=2b303b&colorB=00e8c6)](https://github.com/myaaghubi/Auto-Semicolon-VSCode/releases/latest)
55
[![rating](https://img.shields.io/visual-studio-marketplace/stars/myaaghubi.auto-semicolon-vscode?style=for-the-badge&logo=reverbnation&logoColor=white&colorA=2b303b&colorB=FFE66D)](https://marketplace.visualstudio.com/items?itemName=myaaghubi.auto-semicolon-vscode)
66

7-
A handy tool to make programming delicious.
7+
A useful tool to enhance coding with VSCode.
88

9-
This extension helps by moving to the end of the line `and/or` putting `;` in the right place.
9+
This extension assists by moving the cursor to the end of the line `and/or` putting the `;` at the end of the line.
1010

11-
All programming languages include both `Semicolon separated` and `Non-Semicolon separated` supported.
12-
It's **`auto`**, **`smart`**, **`handy`**, and **`customizable`**. Don't forget to [🍔 donate](#-donate) if you find joy in it.
11+
All programming languages including both `Semicolon separated` and `Non-Semicolon separated` are supported.
12+
It's **`auto`**, **`smart`**, **`handy`**, and **`customizable`**.
1313

14-
I found nothing for `PHP` so made my own, now it's the `best` for this use.
14+
I found nothing for `PHP` so made my shit, now it's the `best` for all languages.
1515

16-
## How To Use
17-
1. Install it from [market place > auto semicolon](https://marketplace.visualstudio.com/items?itemName=myaaghubi.auto-semicolon-vscode).
18-
2. Use `;` don't need to move your mouse.
16+
You may interested in [🍔 donating](#-donate).
1917

18+
## Install/Use
19+
1. Install it from [market place > auto semicolon](https://marketplace.visualstudio.com/items?itemName=myaaghubi.auto-semicolon-vscode)
20+
2. Press `;` anywhere
21+
Enjoy it
22+
23+
## Notes
24+
- Customizable by settings.
25+
- `Multiple cursors` has been supported.
26+
- Excluding quotes `` "'` `` supported (check it in settings).
27+
- The `for(...;...;)` statement supported (check it in settings).
28+
- `PHP`, `javascript`, `typescript`, `c#`, `c/c++`, `java`, `perl`, `dart`, `swift`, **even** `python`, `go`, `bash`, `scala`, `kotlin`, `r` supported, feel free to add your programming language in the list!
2029

2130
## Shortcuts
2231
- `;` > To have it auto
23-
- `alt + ;` then `;` > To put `;` right in place (not auto)
32+
- `alt + ;` then `;` > To put `;` manual (not auto)
2433

25-
Or use the command palette `ctrl+shift+p` > `Auto Semicolon > Insert At The Position`.
34+
Or use the command palette `ctrl+shift+p` > `Insert Manually`.
2635
- `alt` + twice `;` > To ignore enclosing curly bracket pair `{..}` (force move to the end of the line)
2736

28-
Or use `ctrl+shift+p` > `Auto Semicolon > Auto Insert At The End`.
37+
Or use `ctrl+shift+p` > `Insert Force To The End`.
2938
You can change this option from settings.
3039

31-
## Notes
32-
- `Multiple cursors` has been supported.
33-
- `PHP`, `javascript`, `typescript`, `c#`, `c/c++`, `java`, `perl`, `dart`, `swift`, even `python`, `go`, `bash`, `scala`, `kotlin`, `r` supported, feel free to ask support for your programming language!
40+
## Keybinding
41+
You can customize key bindings, to do that
42+
- Open Command Palette (`ctrl+shift+p`)
43+
- Search for 'Open keyboard shortcuts' then 'Auto Semicolon` > `Change keybinding`
44+
```json
45+
This is the default:
46+
[
47+
{ "key": "alt+; ;", "command": "auto-semicolon-vscode.position-insert-semicolon", "when": "editorTextFocus" },
48+
{ "key": "alt+; ;", "command": "auto-semicolon-vscode.position-insert-semicolon", "when": "editorTextFocus" },
49+
{ "key": "alt+; alt+;", "command": "auto-semicolon-vscode.auto-insert-semicolon-fte", "when": "editorTextFocus" }
50+
]
51+
```
3452

3553
## Preview
3654
![Shot Auto-Semicolon-VSCode](assets/auto-semicolon1.gif)
@@ -40,7 +58,7 @@ I found nothing for `PHP` so made my own, now it's the `best` for this use.
4058
![Shot Auto-Semicolon-VSCode](assets/auto-semicolon3.gif)
4159

4260
## 🍔 Donate
43-
Don't forget to donate if you enjoyed it ☕ 🍺 🍸 🍔
61+
Pick one to donate ☕ 🍺 🍸 🍔
4462

4563
ETH: 0x0ADd51D6855d2DF11BB5F331A3fa345c67a863b2
4664

0 commit comments

Comments
 (0)