File tree Expand file tree Collapse file tree 5 files changed +1205
-0
lines changed
Expand file tree Collapse file tree 5 files changed +1205
-0
lines changed Original file line number Diff line number Diff line change 1+ // A launch configuration that compiles the extension and then opens it inside a new window
2+ // Use IntelliSense to learn about possible attributes.
3+ // Hover to view descriptions of existing attributes.
4+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+ {
6+ "version" : " 0.2.0" ,
7+ "configurations" : [{
8+ "name" : " Run Extension" ,
9+ "type" : " extensionHost" ,
10+ "request" : " launch" ,
11+ "runtimeExecutable" : " ${execPath}" ,
12+ "args" : [
13+ " --extensionDevelopmentPath=${workspaceFolder}"
14+ ]
15+ }
16+ ]
17+ }
Original file line number Diff line number Diff line change 1+ {
2+ "editor.insertSpaces" : false
3+ }
Original file line number Diff line number Diff line change 1+ # CODING Design Token VSCode Snippets
2+
3+ Quickly insert design token value in vscode
4+
5+ CODING Design Token List: http://uikit.coding.fashion/docs#/design-tokens
6+
7+ ## Install
8+ Search in vscode marketplace or use ``` vsce package ``` to package extenion and choose install from a vsix file in vscode.
9+
10+ ## Usage
11+
12+ Snippets use [ ck-] as a prefix before design token name, so just type ``` ck ``` in editor you will get the snippets list of design token.
13+
14+ ## Running the extension
15+
16+ - Run the ` Run Extension ` target in the Debug View
17+ - When you type ` log ` in a JavaScript file, you would see the snippet ` Print to console ` .
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " coding-design-token-vscode-snippets" ,
3+ "displayName" : " CODING Design Token Snippets" ,
4+ "description" : " CODING design token snippets" ,
5+ "version" : " 0.0.1" ,
6+ "publisher" : " tankxu" ,
7+ "engines" : {
8+ "vscode" : " ^1.28.0"
9+ },
10+ "repository" : {
11+ "type" : " git" ,
12+ "url" : " https://github.com/Coding/coding-design-token-vscode-snippets.git"
13+ },
14+ "categories" : [
15+ " Snippets"
16+ ],
17+ "contributes" : {
18+ "snippets" : [
19+ {
20+ "path" : " ./snippets/design-token-value.code-snippets"
21+ }
22+ ]
23+ }
24+ }
You can’t perform that action at this time.
0 commit comments