Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0e060d6

Browse files
Modularize snippets
1 parent 506c23e commit 0e060d6

File tree

7 files changed

+596
-1893
lines changed

7 files changed

+596
-1893
lines changed

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ✂️ vscode-javascript-snippets
22

33
[![Version](https://img.shields.io/vscode-marketplace/v/nathanchapman.javascriptsnippets.svg)](https://marketplace.visualstudio.com/items?itemName=nathanchapman.javascriptsnippets)
4-
[![Downloads](https://img.shields.io/vscode-marketplace/d/nathanchapman.javascriptsnippets.svg)](vscode:extension/nathanchapman.javascriptsnippets)
4+
![Downloads](https://img.shields.io/vscode-marketplace/d/nathanchapman.javascriptsnippets.svg)
55
[![Rating](https://img.shields.io/vscode-marketplace/r/nathanchapman.javascriptsnippets.svg)](https://marketplace.visualstudio.com/items?itemName=nathanchapman.javascriptsnippets&ssr=false#review-details)
66

77
> Visual Studio Code snippets for JavaScript, TypeScript, and React
@@ -90,7 +90,7 @@ else {
9090
}
9191
```
9292

93-
##### `ife` if/else statement
93+
##### `ifel` if/else statement
9494

9595
```javascript
9696
if (${1:condition}) {
@@ -100,7 +100,7 @@ if (${1:condition}) {
100100
}
101101
```
102102

103-
##### `ei` else if statement
103+
##### `elif` else if statement
104104

105105
```javascript
106106
else if (${1:condition}) {

‎package.json‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
],
1919
"contributes": {
2020
"snippets": [
21+
{
22+
"path": "./snippets/global.code-snippets"
23+
},
2124
{
2225
"language": "javascript",
2326
"path": "./snippets/js.code-snippets"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /