Skip to content

Instantly share code, notes, and snippets.

View foxyblocks's full-sized avatar

Chris Schlensker foxyblocks

View GitHub Profile
@foxyblocks
foxyblocks / javascript.json
Last active February 2, 2021 17:31
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.
{
"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"
}
}