Generated by yeoman
This commit is contained in:
commit
61eb652804
9 changed files with 727 additions and 0 deletions
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Set default behavior to automatically normalize line endings.
|
||||||
|
* text=auto
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
node_modules
|
||||||
|
*.vsix
|
17
.vscode/launch.json
vendored
Normal file
17
.vscode/launch.json
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
// A launch configuration that launches the extension 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": "Extension",
|
||||||
|
"type": "extensionHost",
|
||||||
|
"request": "launch",
|
||||||
|
"args": [
|
||||||
|
"--extensionDevelopmentPath=${workspaceFolder}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
4
.vscodeignore
Normal file
4
.vscodeignore
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
.vscode/**
|
||||||
|
.vscode-test/**
|
||||||
|
.gitignore
|
||||||
|
vsc-extension-quickstart.md
|
9
CHANGELOG.md
Normal file
9
CHANGELOG.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# Change Log
|
||||||
|
|
||||||
|
All notable changes to the "shinycode" extension will be documented in this file.
|
||||||
|
|
||||||
|
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
- Initial release
|
16
README.md
Normal file
16
README.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# shinycode README
|
||||||
|
|
||||||
|
## Working with Markdown
|
||||||
|
|
||||||
|
You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
|
||||||
|
|
||||||
|
* Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux).
|
||||||
|
* Toggle preview (`Shift+Cmd+V` on macOS or `Shift+Ctrl+V` on Windows and Linux).
|
||||||
|
* Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets.
|
||||||
|
|
||||||
|
## For more information
|
||||||
|
|
||||||
|
* [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown)
|
||||||
|
* [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/)
|
||||||
|
|
||||||
|
**Enjoy!**
|
21
package.json
Normal file
21
package.json
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
"name": "shinycode",
|
||||||
|
"displayName": "shinycode",
|
||||||
|
"description": "",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"engines": {
|
||||||
|
"vscode": "^1.95.0"
|
||||||
|
},
|
||||||
|
"categories": [
|
||||||
|
"Themes"
|
||||||
|
],
|
||||||
|
"contributes": {
|
||||||
|
"themes": [
|
||||||
|
{
|
||||||
|
"label": "ShinyCode",
|
||||||
|
"uiTheme": "vs-dark",
|
||||||
|
"path": "./themes/ShinyCode-color-theme.json"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
628
themes/ShinyCode-color-theme.json
Normal file
628
themes/ShinyCode-color-theme.json
Normal file
|
@ -0,0 +1,628 @@
|
||||||
|
{
|
||||||
|
"name": "ShinyCode",
|
||||||
|
"colors": {
|
||||||
|
"editor.background": "#263238",
|
||||||
|
"editor.foreground": "#eeffff",
|
||||||
|
"activityBarBadge.background": "#007acc",
|
||||||
|
"sideBarTitle.foreground": "#bbbbbb"
|
||||||
|
},
|
||||||
|
"tokenColors": [
|
||||||
|
{
|
||||||
|
"name": "Comment",
|
||||||
|
"scope": [
|
||||||
|
"comment",
|
||||||
|
"punctuation.definition.comment"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "italic",
|
||||||
|
"foreground": "#546E7A"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Variables",
|
||||||
|
"scope": [
|
||||||
|
"variable",
|
||||||
|
"string constant.other.placeholder"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#EEFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Colors",
|
||||||
|
"scope": [
|
||||||
|
"constant.other.color"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#ffffff"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Invalid",
|
||||||
|
"scope": [
|
||||||
|
"invalid",
|
||||||
|
"invalid.illegal"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#FF5370"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Keyword, Storage",
|
||||||
|
"scope": [
|
||||||
|
"keyword",
|
||||||
|
"storage.type",
|
||||||
|
"storage.modifier"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#C792EA"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Operator, Misc",
|
||||||
|
"scope": [
|
||||||
|
"keyword.control",
|
||||||
|
"constant.other.color",
|
||||||
|
"punctuation",
|
||||||
|
"meta.tag",
|
||||||
|
"punctuation.definition.tag",
|
||||||
|
"punctuation.separator.inheritance.php",
|
||||||
|
"punctuation.definition.tag.html",
|
||||||
|
"punctuation.definition.tag.begin.html",
|
||||||
|
"punctuation.definition.tag.end.html",
|
||||||
|
"punctuation.section.embedded",
|
||||||
|
"keyword.other.template",
|
||||||
|
"keyword.other.substitution"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#89DDFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Tag",
|
||||||
|
"scope": [
|
||||||
|
"entity.name.tag",
|
||||||
|
"meta.tag.sgml",
|
||||||
|
"markup.deleted.git_gutter"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#f07178"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Function, Special Method",
|
||||||
|
"scope": [
|
||||||
|
"entity.name.function",
|
||||||
|
"meta.function-call",
|
||||||
|
"variable.function",
|
||||||
|
"support.function",
|
||||||
|
"keyword.other.special-method"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#82AAFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Block Level Variables",
|
||||||
|
"scope": [
|
||||||
|
"meta.block variable.other"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#f07178"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Other Variable, String Link",
|
||||||
|
"scope": [
|
||||||
|
"support.other.variable",
|
||||||
|
"string.other.link"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#f07178"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Number, Constant, Function Argument, Tag Attribute, Embedded",
|
||||||
|
"scope": [
|
||||||
|
"constant.numeric",
|
||||||
|
"constant.language",
|
||||||
|
"support.constant",
|
||||||
|
"constant.character",
|
||||||
|
"constant.escape",
|
||||||
|
"variable.parameter",
|
||||||
|
"keyword.other.unit",
|
||||||
|
"keyword.other"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#F78C6C"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "String, Symbols, Inherited Class, Markup Heading",
|
||||||
|
"scope": [
|
||||||
|
"string",
|
||||||
|
"constant.other.symbol",
|
||||||
|
"constant.other.key",
|
||||||
|
"entity.other.inherited-class",
|
||||||
|
"markup.heading",
|
||||||
|
"markup.inserted.git_gutter",
|
||||||
|
"meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#C3E88D"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Class, Support",
|
||||||
|
"scope": [
|
||||||
|
"entity.name",
|
||||||
|
"support.type",
|
||||||
|
"support.class",
|
||||||
|
"support.other.namespace.use.php",
|
||||||
|
"meta.use.php",
|
||||||
|
"support.other.namespace.php",
|
||||||
|
"markup.changed.git_gutter",
|
||||||
|
"support.type.sys-types"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#FFCB6B"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Entity Types",
|
||||||
|
"scope": [
|
||||||
|
"support.type"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#B2CCD6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CSS Class and Support",
|
||||||
|
"scope": [
|
||||||
|
"source.css support.type.property-name",
|
||||||
|
"source.sass support.type.property-name",
|
||||||
|
"source.scss support.type.property-name",
|
||||||
|
"source.less support.type.property-name",
|
||||||
|
"source.stylus support.type.property-name",
|
||||||
|
"source.postcss support.type.property-name"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#B2CCD6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Sub-methods",
|
||||||
|
"scope": [
|
||||||
|
"entity.name.module.js",
|
||||||
|
"variable.import.parameter.js",
|
||||||
|
"variable.other.class.js"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#FF5370"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Language methods",
|
||||||
|
"scope": [
|
||||||
|
"variable.language"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "italic",
|
||||||
|
"foreground": "#FF5370"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "entity.name.method.js",
|
||||||
|
"scope": [
|
||||||
|
"entity.name.method.js"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "italic",
|
||||||
|
"foreground": "#82AAFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "meta.method.js",
|
||||||
|
"scope": [
|
||||||
|
"meta.class-method.js entity.name.function.js",
|
||||||
|
"variable.function.constructor"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#82AAFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Attributes",
|
||||||
|
"scope": [
|
||||||
|
"entity.other.attribute-name"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#C792EA"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "HTML Attributes",
|
||||||
|
"scope": [
|
||||||
|
"text.html.basic entity.other.attribute-name.html",
|
||||||
|
"text.html.basic entity.other.attribute-name"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "italic",
|
||||||
|
"foreground": "#FFCB6B"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CSS Classes",
|
||||||
|
"scope": [
|
||||||
|
"entity.other.attribute-name.class"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#FFCB6B"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CSS ID's",
|
||||||
|
"scope": [
|
||||||
|
"source.sass keyword.control"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#82AAFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Inserted",
|
||||||
|
"scope": [
|
||||||
|
"markup.inserted"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#C3E88D"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Deleted",
|
||||||
|
"scope": [
|
||||||
|
"markup.deleted"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#FF5370"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Changed",
|
||||||
|
"scope": [
|
||||||
|
"markup.changed"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#C792EA"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Regular Expressions",
|
||||||
|
"scope": [
|
||||||
|
"string.regexp"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#89DDFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Escape Characters",
|
||||||
|
"scope": [
|
||||||
|
"constant.character.escape"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#89DDFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "URL",
|
||||||
|
"scope": [
|
||||||
|
"*url*",
|
||||||
|
"*link*",
|
||||||
|
"*uri*"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "underline"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Decorators",
|
||||||
|
"scope": [
|
||||||
|
"tag.decorator.js entity.name.tag.js",
|
||||||
|
"tag.decorator.js punctuation.definition.tag.js"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "italic",
|
||||||
|
"foreground": "#82AAFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ES7 Bind Operator",
|
||||||
|
"scope": [
|
||||||
|
"source.js constant.other.object.key.js string.unquoted.label.js"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "italic",
|
||||||
|
"foreground": "#FF5370"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "JSON Key - Level 0",
|
||||||
|
"scope": [
|
||||||
|
"source.json meta.structure.dictionary.json support.type.property-name.json"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#C792EA"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "JSON Key - Level 1",
|
||||||
|
"scope": [
|
||||||
|
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#FFCB6B"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "JSON Key - Level 2",
|
||||||
|
"scope": [
|
||||||
|
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#F78C6C"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "JSON Key - Level 3",
|
||||||
|
"scope": [
|
||||||
|
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#FF5370"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "JSON Key - Level 4",
|
||||||
|
"scope": [
|
||||||
|
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#C17E70"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "JSON Key - Level 5",
|
||||||
|
"scope": [
|
||||||
|
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#82AAFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "JSON Key - Level 6",
|
||||||
|
"scope": [
|
||||||
|
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#f07178"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "JSON Key - Level 7",
|
||||||
|
"scope": [
|
||||||
|
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#C792EA"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "JSON Key - Level 8",
|
||||||
|
"scope": [
|
||||||
|
"source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#C3E88D"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markdown - Plain",
|
||||||
|
"scope": [
|
||||||
|
"text.html.markdown",
|
||||||
|
"punctuation.definition.list_item.markdown"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#EEFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markdown - Markup Raw Inline",
|
||||||
|
"scope": [
|
||||||
|
"text.html.markdown markup.inline.raw.markdown"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#C792EA"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markdown - Markup Raw Inline Punctuation",
|
||||||
|
"scope": [
|
||||||
|
"text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#65737E"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markdown - Heading",
|
||||||
|
"scope": [
|
||||||
|
"markdown.heading",
|
||||||
|
"markup.heading | markup.heading entity.name",
|
||||||
|
"markup.heading.markdown punctuation.definition.heading.markdown"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#C3E88D"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markup - Italic",
|
||||||
|
"scope": [
|
||||||
|
"markup.italic"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "italic",
|
||||||
|
"foreground": "#f07178"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markup - Bold",
|
||||||
|
"scope": [
|
||||||
|
"markup.bold",
|
||||||
|
"markup.bold string"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "bold",
|
||||||
|
"foreground": "#f07178"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markup - Bold-Italic",
|
||||||
|
"scope": [
|
||||||
|
"markup.bold markup.italic",
|
||||||
|
"markup.italic markup.bold",
|
||||||
|
"markup.quote markup.bold",
|
||||||
|
"markup.bold markup.italic string",
|
||||||
|
"markup.italic markup.bold string",
|
||||||
|
"markup.quote markup.bold string"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "bold",
|
||||||
|
"foreground": "#f07178"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markup - Underline",
|
||||||
|
"scope": [
|
||||||
|
"markup.underline"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "underline",
|
||||||
|
"foreground": "#F78C6C"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markdown - Blockquote",
|
||||||
|
"scope": [
|
||||||
|
"markup.quote punctuation.definition.blockquote.markdown"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#65737E"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markup - Quote",
|
||||||
|
"scope": [
|
||||||
|
"markup.quote"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "italic"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markdown - Link",
|
||||||
|
"scope": [
|
||||||
|
"string.other.link.title.markdown"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#82AAFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markdown - Link Description",
|
||||||
|
"scope": [
|
||||||
|
"string.other.link.description.title.markdown"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#C792EA"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markdown - Link Anchor",
|
||||||
|
"scope": [
|
||||||
|
"constant.other.reference.link.markdown"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#FFCB6B"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markup - Raw Block",
|
||||||
|
"scope": [
|
||||||
|
"markup.raw.block"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#C792EA"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markdown - Raw Block Fenced",
|
||||||
|
"scope": [
|
||||||
|
"markup.raw.block.fenced.markdown"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#00000050"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markdown - Fenced Bode Block",
|
||||||
|
"scope": [
|
||||||
|
"punctuation.definition.fenced.markdown"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#00000050"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markdown - Fenced Bode Block Variable",
|
||||||
|
"scope": [
|
||||||
|
"markup.raw.block.fenced.markdown",
|
||||||
|
"variable.language.fenced.markdown",
|
||||||
|
"punctuation.section.class.end"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#EEFFFF"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markdown - Fenced Language",
|
||||||
|
"scope": [
|
||||||
|
"variable.language.fenced.markdown"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#65737E"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markdown - Separator",
|
||||||
|
"scope": [
|
||||||
|
"meta.separator"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "bold",
|
||||||
|
"foreground": "#65737E"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markup - Table",
|
||||||
|
"scope": [
|
||||||
|
"markup.table"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#EEFFFF"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
28
vsc-extension-quickstart.md
Normal file
28
vsc-extension-quickstart.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Welcome to your VS Code Extension
|
||||||
|
|
||||||
|
## What's in the folder
|
||||||
|
|
||||||
|
* This folder contains all of the files necessary for your color theme extension.
|
||||||
|
* `package.json` - this is the manifest file that defines the location of the theme file and specifies the base theme of the theme.
|
||||||
|
* `themes/ShinyCode-color-theme.json` - the color theme definition file.
|
||||||
|
|
||||||
|
## Get up and running straight away
|
||||||
|
|
||||||
|
* Press `F5` to open a new window with your extension loaded.
|
||||||
|
* Open the color theme picker with the `File > Preferences > Theme > Color Theme` menu item, or use the `Preferences: Color Theme command (Ctrl+K Ctrl+T)` and pick your theme
|
||||||
|
* Open a file that has a language associated. The languages' configured grammar will tokenize the text and assign 'scopes' to the tokens. To examine these scopes, invoke the `Developer: Inspect Editor Tokens and Scopes` command from the Command Palette (`Ctrl+Shift+P` or `Cmd+Shift+P` on Mac).
|
||||||
|
|
||||||
|
## Make changes
|
||||||
|
|
||||||
|
* Changes to the theme file are automatically applied to the Extension Development Host window.
|
||||||
|
|
||||||
|
## Adopt your theme to Visual Studio Code
|
||||||
|
|
||||||
|
* The token colorization is done based on standard TextMate themes. Colors are matched against one or more scopes.
|
||||||
|
|
||||||
|
To learn more about scopes and how they're used, check out the [color theme](https://code.visualstudio.com/api/extension-guides/color-theme) documentation.
|
||||||
|
|
||||||
|
## Install your extension
|
||||||
|
|
||||||
|
* To start using your extension with Visual Studio Code copy it into the `<user home>/.vscode/extensions` folder and restart Code.
|
||||||
|
* To share your extension with the world, read on https://code.visualstudio.com/docs about publishing an extension.
|
Loading…
Reference in a new issue