mirror of
https://github.com/konpa/devicon.git
synced 2025-08-07 07:06:59 +02:00
add feature: vs code intellisense to devicon.json
(#1487)
* Add VS Code Intellisense to `devicon.json` VS Code Intellisense provides these features: - A snippet to create a new input object by typing `new` - Validates - `name` structure - `color` structure - `version.svg[]`, `version.font[]`, `aliases.?base` and `aliases.?alias` completion - Provides some description for the properties based on the documentation * Fix name pattern and add `dot-net` exception * Update .vscode/devicon-schema.json Co-authored-by: Jørgen Kalsnes Hagen <43886029+Snailedlt@users.noreply.github.com> * Update .vscode/devicon.code-snippets Great! Co-authored-by: Jørgen Kalsnes Hagen <43886029+Snailedlt@users.noreply.github.com> * Update .vscode/devicon-schema.json Agreed! It's more detailed now! Co-authored-by: Jørgen Kalsnes Hagen <43886029+Snailedlt@users.noreply.github.com> * Update .vscode/devicon-schema.json Great! Co-authored-by: Jørgen Kalsnes Hagen <43886029+Snailedlt@users.noreply.github.com> Co-authored-by: Jørgen Kalsnes Hagen <43886029+Snailedlt@users.noreply.github.com>
This commit is contained in:
24
.vscode/devicon.code-snippets
vendored
Normal file
24
.vscode/devicon.code-snippets
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"new entry": {
|
||||
"scope": "json",
|
||||
"prefix": "new",
|
||||
"description": "Inserts the new entry template object. Use it ONLY in \"devicon.json\"!",
|
||||
"body": [
|
||||
"{",
|
||||
" \"name\": \"\",",
|
||||
" \"altnames\": [],",
|
||||
" \"tags\": [],",
|
||||
" \"versions\": {",
|
||||
" \"svg\": [",
|
||||
" \"\"",
|
||||
" ],",
|
||||
" \"font\": [",
|
||||
" \"\"",
|
||||
" ]",
|
||||
" },",
|
||||
" \"color\": \"\",",
|
||||
" \"aliases\": []",
|
||||
"},"
|
||||
]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user