File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,15 @@ __Yes!, no semicolons:__
1515- [ JavaScript Semicolon Insertion - Everything You Need to Know] ( http://inimino.org/~inimino/blog/javascript_semicolons )
1616
1717
18+ ## Making the snippets to priority
19+
20+ I certainly prefer snippets to have the top priority in the autocompletion. This is not a default settingm but can be enabled by:
21+
22+ ```
23+ "editor.snippetSuggestions": "top",
24+ ```
25+ in your settings.json. Otherwise vscode prefers keywords on the top.
26+
1827## Snippets
1928
2029Snippets are optimized to be short and easy to remember. Some snippets are "chainable" and render differently when preceded by a "."
Original file line number Diff line number Diff line change 33 "displayName" : " JavaScript standardjs styled snippets" ,
44 "publisher" : " capaj" ,
55 "icon" : " images/javascript.png" ,
6- "version" : " 0.3 .0" ,
6+ "version" : " 0.4 .0" ,
77 "description" : " standardjs styled javascript snippets for visual studio code" ,
88 "repository" : {
99 "type" : " git" ,
Original file line number Diff line number Diff line change 430430 "prefix" : " cw" ,
431431 "body" : " console.warn(${0})"
432432 },
433+ "constructor" : {
434+ "prefix" : " cn" ,
435+ "body" : " constructor () {\n\t ${0}\n }"
436+ },
433437 "use strict" : {
434438 "prefix" : " us" ,
435439 "body" : " 'use strict'"
You can’t perform that action at this time.
0 commit comments