Last active
February 2, 2021 17:31
-
-
Save foxyblocks/4a1ef48cbd558f9ca6e26f8c51777e84 to your computer and use it in GitHub Desktop.
Paste this into your vscode javascript user snippets. Activate it by typing 'nim+TAB'. It will focus the path part of the import statement first which will cause autocomplete to work on the named import.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Completeable named import": { | |
"prefix": ["nim"], | |
"body": ["import { ${2:value} } from \"${1:path}\";$0"], | |
"description": "A javascript named import statement that works with autocomplete by making you type the path statement first" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment