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 3df44d8

Browse files
committed
refactor: add a tab stop for import assert in imp and imas
1 parent 9352145 commit 3df44d8

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

‎README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -129,20 +129,20 @@ Related snippets share a same namespace, like every `for` loop prefix start with
129129
| `prt` | Promise type (TypeScript) | `Promise<0ドル>` |
130130

131131
### ES2015 Modules
132-
| Prefix | Desc | Body |
133-
| ------: | ---------------------------------- | ----------------------------------------- |
134-
| `exp` | export (ES2015) | `export 0ドル` |
135-
| `expd` | export default (ES2015) | `export default 0ドル` |
136-
| `expas` | export as (ES2015) | `export { 1ドル as 2ドル };0ドル` |
137-
| `expf` | export from (ES2015) | `export ${2:name} from '1ドル';0ドル` |
138-
| `expaf` | export all from (ES2015) | `export *2ドル from '1ドル';0ドル` |
139-
| `im` | import (ES2015) | `import0ドル` |
140-
| `imm` | import.meta (ES2015) | `import.meta0ドル` |
141-
| `imu` | import.meta.url (ES2015) | `import.meta.url0ドル` |
142-
| `imp` | import module (ES2015) | `import ${2:name} from '1ドル';0ドル` |
143-
| `imd` | import module dynamically (ES2020) | `import(1ドル)0ドル` |
144-
| `imf` | import file (ES2015) | `import '1ドル';0ドル` |
145-
| `impas` | import module as (ES2015) | `import ${2:*} as ${3:name} from '1ドル';0ドル` |
132+
| Prefix | Desc | Body |
133+
| ------: | ---------------------------------- | ------------------------------------------- |
134+
| `exp` | export (ES2015) | `export 0ドル` |
135+
| `expd` | export default (ES2015) | `export default 0ドル` |
136+
| `expas` | export as (ES2015) | `export { 1ドル as 2ドル };0ドル` |
137+
| `expf` | export from (ES2015) | `export ${2:name} from '1ドル';0ドル` |
138+
| `expaf` | export all from (ES2015) | `export *2ドル from '1ドル';0ドル` |
139+
| `im` | import (ES2015) | `import0ドル` |
140+
| `imm` | import.meta (ES2015) | `import.meta0ドル` |
141+
| `imu` | import.meta.url (ES2015) | `import.meta.url0ドル` |
142+
| `imp` | import module (ES2015) | `import ${2:name} from '1ドル'3ドル;0ドル` |
143+
| `imd` | import module dynamically (ES2020) | `import(1ドル)0ドル` |
144+
| `imf` | import file (ES2015) | `import '1ドル';0ドル` |
145+
| `impas` | import module as (ES2015) | `import ${2:*} as ${3:name} from '1ドル'3ドル;0ドル` |
146146

147147
### Node.js
148148
| Prefix | Desc | Body |

‎src/snippet/javascript.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export const javascript = createXSnippets({
232232
},
233233
imp: {
234234
name: 'import module (ES2015)',
235-
body: "import ${2:name} from '1ドル';0ドル",
235+
body: "import ${2:name} from '1ドル'3ドル;0ドル",
236236
},
237237
imd: {
238238
name: 'import module dynamically (ES2020)',
@@ -244,7 +244,7 @@ export const javascript = createXSnippets({
244244
},
245245
impas: {
246246
name: 'import module as (ES2015)',
247-
body: "import ${2:*} as ${3:name} from '1ドル';0ドル",
247+
body: "import ${2:*} as ${3:name} from '1ドル'3ドル;0ドル",
248248
},
249249

250250
cb: {

0 commit comments

Comments
(0)

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