You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added snippets into "global" settings,
How it looks now: { // Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is // used to trigger the snippet and the body will be expanded and inserted. Possible variables are: // $1, $2 for tab stops, $0 for the final cursor position, and \${1:label}, \${2:another} for placeholders. // Placeholders with the same ids are connected. // Example: "Print to console": { "scope": "javascript,typescript", "prefix": "cl", "body": ["console.log('$1');", "$2"], "description": "Log output to console" }, "Create div tag": { "scope": "javascript,typescript", "prefix": "div", "body": ["<div>$0<div>"], "description": "Create div tag" }, "Create pre tag": { "scope": "javascript,typescript", "prefix": "pre", "body": ["<pre>$0<pre>"], "description": "Create pre tag" }, "Import from vue": { "scope": "javascript,typescript", "prefix": "vim", "body": ["import { $0 } from 'vue';"], "description": "Import some value from vue" } }
They are doesn't work.
Emmet also doesn't work.
might be i'm doing something incorrect? Help please
Browser name = Chrome
Full version = 122.0.0.0
Major version = 122
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
performance.memory = {
"totalJSHeapSize": 124786627,
"usedJSHeapSize": 108661987,
"jsHeapSizeLimit": 4294705152
}
Hash = 810981ba
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
I added snippets into "global" settings,
How it looks now:
{ // Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is // used to trigger the snippet and the body will be expanded and inserted. Possible variables are: // $1, $2 for tab stops, $0 for the final cursor position, and \${1:label}, \${2:another} for placeholders. // Placeholders with the same ids are connected. // Example: "Print to console": { "scope": "javascript,typescript", "prefix": "cl", "body": ["console.log('$1');", "$2"], "description": "Log output to console" }, "Create div tag": { "scope": "javascript,typescript", "prefix": "div", "body": ["<div>$0<div>"], "description": "Create div tag" }, "Create pre tag": { "scope": "javascript,typescript", "prefix": "pre", "body": ["<pre>$0<pre>"], "description": "Create pre tag" }, "Import from vue": { "scope": "javascript,typescript", "prefix": "vim", "body": ["import { $0 } from 'vue';"], "description": "Import some value from vue" } }
They are doesn't work.
Emmet also doesn't work.
might be i'm doing something incorrect? Help please
Link to the blitz that caused the error
https://stackblitz.com/edit/vitejs-vite-erjf5e?file=src%2FApp.vue
Steps to reproduce
Settings -> User snippets -> add snippets
Expected behavior
How i know after clicking tab it should work
for example i type
cl (then click "TAB") it should automatically add line console.log("")
Parity with Local
Screenshots
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: