Skip to content

Commit 2c5701a

Browse files
committed
add support for react and vue
1 parent 5837cc0 commit 2c5701a

File tree

4 files changed

+44
-2
lines changed

4 files changed

+44
-2
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"github",
77
"limegreen",
88
"paypal",
9+
"SWPM",
910
"volta"
1011
],
1112
"markdownlint.config": {

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ Fixed for any bug fixes.
99
Security to invite users to upgrade in case of vulnerabilities.
1010
-->
1111

12+
## 1.4.0 - 2023/04/14
13+
14+
### Added
15+
16+
- support on JSX and TSX and Vue files
17+
1218
## 1.3.0 - 2023/02/27
1319

1420
### Added

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ The quick and easy way to debug your code and styles with [VS Code](https://code
2222
- [Snippets](#snippets)
2323
- [Code](#code)
2424
- [Styles](#styles)
25+
- [keyboard](#keyboard)
2526
- [Settings](#settings)
2627
- [About](#about)
2728

@@ -66,7 +67,7 @@ Open the extension manager with <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>X</kbd> (W
6667

6768
## Snippets
6869

69-
Below is a list of all available snippets and the triggers of each one. The **$** means the `TAB` key and `` the final cursor position.
70+
Below is a list of all available snippets and the triggers of each one. The **$** means the `TAB` jump position and `` the final cursor position.
7071

7172
### Code
7273

@@ -124,6 +125,19 @@ Below is a list of all available snippets and the triggers of each one. The **$*
124125

125126
---
126127

128+
## Keyboard
129+
130+
Remember to complement the snippets with these keyboard shortcuts that can be used without needing to move the cursor to the start or to the end.
131+
132+
| Action | Win/Linux | macOS |
133+
| ----------------- | -----------------: | ----------------: |
134+
| Insert line above | `ctrl+shift+enter` | `cmd+shift+enter` |
135+
| Insert line below | `ctrl+enter` | `cmd+enter` |
136+
137+
[Back to menu](#menu)
138+
139+
---
140+
127141
## Settings
128142

129143
The `editor.snippetSuggestions` setting in vscode `settings.json` will show snippets on top of the suggestion list.
@@ -142,6 +156,7 @@ The `editor.snippetSuggestions` setting in vscode `settings.json` will show snip
142156

143157
- [VS Code](https://code.visualstudio.com/) - Code editing redefined.
144158
- [Figma](https://www.figma.com/) - The collaborative interface design tool.
159+
- [SWPM](https://www.npmjs.com/package/swpm) - One Package Manager to command them all.
145160

146161
### Sources
147162

package.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "debug-snippets",
33
"description": "VS Code Debug snippets for JS, TS and CSS",
4-
"version": "1.3.0",
4+
"version": "1.4.0",
55
"displayName": "Debug Snippets",
66
"publisher": "deinsoftware",
77
"icon": "images/light-icon.png",
@@ -43,10 +43,30 @@
4343
"language": "javascript",
4444
"path": "./snippets/code.json"
4545
},
46+
{
47+
"language": "jsx-attr",
48+
"path": "./snippets/code.json"
49+
},
50+
{
51+
"language": "javascriptreact",
52+
"path": "./snippets/code.json"
53+
},
4654
{
4755
"language": "typescript",
4856
"path": "./snippets/code.json"
4957
},
58+
{
59+
"language": "tsx-attr",
60+
"path": "./snippets/code.json"
61+
},
62+
{
63+
"language": "typescriptreact",
64+
"path": "./snippets/code.json"
65+
},
66+
{
67+
"language": "vue",
68+
"path": "./snippets/code.json"
69+
},
5070
{
5171
"language": "css",
5272
"path": "./snippets/styles.json"

0 commit comments

Comments
 (0)