VS Code
From Roll20 Wiki
Page Updated: 2021-12-17 |
This article is a stub. |
Visual Studio Code(VS Code) is a popular text editor. It's free, and available for Windows/Linux/Mac, as well as accessible online through vscode.dev.
VS Code has some uses with Roll20, primarily for editing complicated macros, and for Character Sheet Creation.
Extensions
Here are some useful Extensions:
Roll20 Syntax Highlight
by Andreas J.
Extension to make roll20 macro and API command writing & troubleshooting easier. Higlight works when you use VSCode to view .rmacro
-files.
- bracket pairing & highlights
- shows with colors which brackets/parentheses belong together(making mismatched brackets easier to find)
- also does this for roll20 macros syntaxes (
@{ }
,?{ }
,%{ }
,&{ }
,$[[ ]]
)
- syntax highlight
- roll, macro & API commands (e.g.
/r
,!example
,#dex
) - in dice rolls,
d
&dF
- some common keywords, like
selected
,template
,%%NEWLINE%%
- special characters used in macros (e.g.
~,|#=+
, and HTML Entities)
- roll, macro & API commands (e.g.
- Features: full summary
Links:
- Extension - VSCode Marketplace & Full Details
- Roll20 Syntax Highlight -forum thread
Roll20 Sheet Dev
by Andreas J.
Extension to help with character sheet development
Features:
- auto-completion, info, & documentation links for roll20-specific HTML elements & attributes
- syntax highlight for rolltemplates & sheetworkers(javascript)-code inside HTML files
- snippet shortcuts for HTML & PUG
- Features: full summary
Links:
- Extension - VSCode Marketplace