annex4-inc / vscode-control4-ext

VSCode extension for building Control4 drivers.
GNU General Public License v3.0
25 stars 6 forks source link

VS Code Control4 Extension

Adds support for Control4 driver development

Sidebar

Features

Requirements

You must install DriverEditor and update the extension settings to point to the path of DriverPackager.exe. See example below.

Settings

Commands (Ctrl+Shift+P)

Build Tasks (Ctrl+Shift+B)

On initial project creation we create two build tasks for you, one that is for debug mode (unencrypted) and one for release mode (encrypted).

Private Variables

During the build process you can dynamically include variables so that you don't have to submit them to source control. Create an 'environment.json' file in the root directory of the project and specify them as such:

environment.json

{
    "my_environment_variable": "PRIVATE_VALUE"
}

driver.lua

local myEnvironmentValue = [[ENV.my_environment_variable]]

Extension Settings

Roadmap

These features have now been branched into the Lua LSP addon:

Templates

Unit Testing

Installing WSL

Figures

Commands