VS code extension for semantic highlighting language for Botify segments.
- Download this repo
- Place it in your
~/.vscode/extensions
folder. Bash script:cp -R vs-code-syntax-botify-segments ~/.vscode/extensions/vs-code-syntax-botify-segments
- Copy the code snippet of the next section into your
settings.json
vscode file - Restart VS Code
- You can now use the
botify
language in VS Code
Important: Modify this value [Default Dark+]
by the name of the theme you're using.
"editor.tokenColorCustomizations": {
"[Default Dark+]": {
"textMateRules": [
{
"scope": "keyword.route.botify",
"settings": {
"foreground": "#66D9EF"
}
},
{
"scope": "keyword.route.values.botify",
"settings": {
"foreground": "#A6E22E"
}
},
{
"scope": "keyword.host.botify",
"settings": {
"foreground": "#F92672"
}
},
{
"scope": "keyword.path.botify",
"settings": {
"foreground": "#F92672"
}
},
{
"scope": "keyword.path.values.botify",
"settings": {
"foreground": "#E6DB74"
}
},
{
"scope": "keyword.host.values.botify",
"settings": {
"foreground": "#E6DB74"
}
},
{
"scope": "source.botify",
"settings": {
"foreground": "#E6DB74"
}
},
{
"scope": "keyword.comment.botify",
"settings": {
"foreground": "#75715E"
}
}
]
},
}