File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ Below is a list of all available snippets and the triggers of each one. The **
2727| Trigger | Content |
2828| -------: | ------- |
2929| ` imp→ ` | imports entire module ` import fs from 'fs'; ` |
30+ | ` imn→ ` | imports entire module without module name ` import 'animate.css' ` |
3031| ` imd→ ` | imports only a portion of the module using destructing ` import {rename} from 'fs'; ` |
3132| ` ime→ ` | imports everything as alias from the module ` import * as localAlias from 'fs'; ` |
3233| ` ima→ ` | imports only a portion of the module as alias ` import { rename as localRename } from 'fs'; ` |
Original file line number Diff line number Diff line change 44 "body" : " import ${2:moduleName} from '${1:module}';$0" ,
55 "description" : " Imports entire module statement in ES6 syntax"
66 },
7+ "importNoModuleName" : {
8+ "prefix" : " imn" ,
9+ "body" : " import '${1:module}';$0" ,
10+ "description" : " Imports entire module in ES6 syntax without module name"
11+ },
712 "importDestructing" : {
813 "prefix" : " imd" ,
914 "body" : " import { $2 } from '${1:module}';$0" ,
You can’t perform that action at this time.
0 commit comments