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:__
15
15
- [ JavaScript Semicolon Insertion - Everything You Need to Know] ( http://inimino.org/~inimino/blog/javascript_semicolons )
16
16
17
17
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
+
18
27
## Snippets
19
28
20
29
Snippets 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 3
3
"displayName" : " JavaScript standardjs styled snippets" ,
4
4
"publisher" : " capaj" ,
5
5
"icon" : " images/javascript.png" ,
6
- "version" : " 0.3 .0" ,
6
+ "version" : " 0.4 .0" ,
7
7
"description" : " standardjs styled javascript snippets for visual studio code" ,
8
8
"repository" : {
9
9
"type" : " git" ,
Original file line number Diff line number Diff line change 430
430
"prefix" : " cw" ,
431
431
"body" : " console.warn(${0})"
432
432
},
433
+ "constructor" : {
434
+ "prefix" : " cn" ,
435
+ "body" : " constructor () {\n\t ${0}\n }"
436
+ },
433
437
"use strict" : {
434
438
"prefix" : " us" ,
435
439
"body" : " 'use strict'"
You can’t perform that action at this time.
0 commit comments