4
4
[ ![ 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 )
5
5
[ ![ 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 )
6
6
7
- A handy tool to make programming delicious .
7
+ A useful tool to enhance coding with VSCode .
8
8
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.
10
10
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 ` ** .
13
13
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 .
15
15
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 ) .
19
17
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!
20
29
21
30
## Shortcuts
22
31
- ` ; ` > To have it auto
23
- - ` alt + ; ` then ` ; ` > To put ` ; ` right in place (not auto)
32
+ - ` alt + ; ` then ` ; ` > To put ` ; ` manual (not auto)
24
33
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 ` .
26
35
- ` alt ` + twice ` ; ` > To ignore enclosing curly bracket pair ` {..} ` (force move to the end of the line)
27
36
28
- Or use ` ctrl+shift+p ` > ` Auto Semicolon > Auto Insert At The End` .
37
+ Or use ` ctrl+shift+p ` > ` Insert Force To The End ` .
29
38
You can change this option from settings.
30
39
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
+ ```
34
52
35
53
## Preview
36
54
![ 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.
40
58
![ Shot Auto-Semicolon-VSCode] ( assets/auto-semicolon3.gif )
41
59
42
60
## 🍔 Donate
43
- Don't forget to donate if you enjoyed it ☕ 🍺 🍸 🍔
61
+ Pick one to donate ☕ 🍺 🍸 🍔
44
62
45
63
ETH: 0x0ADd51D6855d2DF11BB5F331A3fa345c67a863b2
46
64
0 commit comments