mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 10:19:02 +00:00
Add import statement snippet to .js(x) files (#34682)
* Add import statement snippet to JS files This makes them consistent with TS files. * Add import statement snippet to jsx files
This commit is contained in:
committed by
Matt Bierner
parent
e9c41816f7
commit
81444f43fa
@@ -137,5 +137,12 @@
|
||||
"/// <reference path=\"$1\" />$0"
|
||||
],
|
||||
"description": "Relative Reference to another File"
|
||||
},
|
||||
"Import external module.": {
|
||||
"prefix": "import statement",
|
||||
"body": [
|
||||
"import { $0 } from \"${1:module}\";"
|
||||
],
|
||||
"description": "Import external module."
|
||||
}
|
||||
}
|
||||
|
||||
@@ -137,5 +137,12 @@
|
||||
"/// <reference path=\"$1\" />$0"
|
||||
],
|
||||
"description": "Relative Reference to another File"
|
||||
},
|
||||
"Import external module.": {
|
||||
"prefix": "import statement",
|
||||
"body": [
|
||||
"import { $0 } from \"${1:module}\";"
|
||||
],
|
||||
"description": "Import external module."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user