/vscode-brightscript-language

A Visual Studio Code extension for Roku's BrightScript language

Primary LanguageTypeScriptMIT LicenseMIT

BrightScript Language extension for VSCode

build status coverage status Visual Studio Marketplace Visual Studio Marketplace Version OpenVSX license Slack

The popular BrightScript Language extension for VSCode is used by thousands of Roku developers around the world. Revolutionize your Roku development workflow by using this powerful tool.


Notable features

The extension is packed with features, but here are some highlights:

  • Side-load directly to a roku device from VSCode
  • In editor debugging support including breakpoints, variable inspection, and more...
  • Integrated device logs and interactive console (see image below)
  • Catch errors in VSCode with the built in syntax checking. (Powered by the BrighterScript language server)
  • Automatic rendezvous tracking when logrendezvous is enabled on the Roku device.
  • Syntax highlighting, code formatting, symbol navigation, and much more

Debugger Demo

Documentation

For a full list of features and settings, please see our documentation website, or click one of the links below.

Extension

Code Editing

Debugging

  • Basic project setup - Launching and debugging your local project on a Roku device.
  • Component Libraries - How to define custom component libraries in your launch.json
  • Deeplinking - Sending deeplinks from the launch.json
  • Remote control emulation - How to emulate the Roku remote control
  • Rale - Inject Rale into your application without committing the TrackerTask to your repository
  • BS_Consts - Changing bs_const values from the launch.json
  • Advanced Project Setup - Setting up your project with complex use cases such as custom build scripts or source files located in multiple different directories.

Contributing

The majority of this extension's language feature support depends on the BrighterScript project, which contributes the language server. The debugging functionality comes from the roku-debug project. If you would like to contribute please see our contributing guide

Changelog

Click here to see the changelog.