Skip to content

Vs Code Extension for Roll20 Character Sheet & API development

License

Notifications You must be signed in to change notification settings

Anduh/vscode-roll20dev

Repository files navigation

Roll20 Sheet Dev

VSMarket: rmacro installs Contributions Last Commit

Twitter: @anduh_ Patreon Donate

Tools for Roll20, to help with Character Sheet Development.

Features

HTML

  • recognize, autocompletes, and on hover, shows documentation + links
    • elements: <rolltemplate> and <charmancer>
    • global attributes: data-i18nand it's variants
    • recognize: button type="roll", type="action"; input type="hidden" as options
  • snippets: common roll20 elements & fills out with relevant attributes

Rolltemplates

Roll20 rolltemplate syntax is higlighted in .html-files using Handlebar-syntax

Any files named .rolltemplate or .rtemplate will show HTML & rolltemplate syntax highlight

JS

  • <script type="text/worker">-blocks in .html-files now shows js highlight properly

PUG

  • snippets: common roll20 elements & fills out with relevant attributes
    • e.g. inputs always have name="attr_", buttons recognize type="roll" & "action"
  • autocomplete & documentation links: partial

CSS/SCSS

  • couple of snippets

Examples

Roll20 Sheet Development documentation, and rolltemplate/sheetworker syntax highlight:

Pug-snippet expanded

Contribute

repo: Anduh/vscode-roll20sheetdev

You can help even without knowing how VS Code extensions work. Here are a few concrete parts to start from:

Related Extensions

Roll20 Macros is a related extension, which provides syntax highlight for Roll20's macro & dice syntax.

About

Vs Code Extension for Roll20 Character Sheet & API development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published