-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4b16d5f
Showing
5 changed files
with
1,205 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// A launch configuration that compiles the extension and then opens it inside a new window | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [{ | ||
"name": "Run Extension", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "${execPath}", | ||
"args": [ | ||
"--extensionDevelopmentPath=${workspaceFolder}" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"editor.insertSpaces": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# CODING Design Token VSCode Snippets | ||
|
||
Quickly insert design token value in vscode | ||
|
||
CODING Design Token List: http://uikit.coding.fashion/docs#/design-tokens | ||
|
||
## Install | ||
Search in vscode marketplace or use ```vsce package``` to package extenion and choose install from a vsix file in vscode. | ||
|
||
## Usage | ||
|
||
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. | ||
|
||
## Running the extension | ||
|
||
- Run the `Run Extension` target in the Debug View | ||
- When you type `log` in a JavaScript file, you would see the snippet `Print to console`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"name": "coding-design-token-vscode-snippets", | ||
"displayName": "CODING Design Token Snippets", | ||
"description": "CODING design token snippets", | ||
"version": "0.0.1", | ||
"publisher": "tankxu", | ||
"engines": { | ||
"vscode": "^1.28.0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Coding/coding-design-token-vscode-snippets.git" | ||
}, | ||
"categories": [ | ||
"Snippets" | ||
], | ||
"contributes": { | ||
"snippets": [ | ||
{ | ||
"path": "./snippets/design-token-value.code-snippets" | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.