Skip to content

LED Basic language support for Visual Studio Code IDE

License

Notifications You must be signed in to change notification settings

Gamadril/led-basic-vscode

Repository files navigation

VS Code LED Basic language support

This extension adds LED Basic support for Visual Studio Code.

Features

  • LED Basic v15.2.7 support
  • Allows Strings as labels and variable names
  • Basic syntax highlighting
  • Code snippets: for/ford, if/ifelse
  • Smart bracket support
  • Hover symbol information
  • Code completion support
  • Code formatter included
  • Outline View support showing labels with optional comments
  • Initial diagnostics support based on code validation using language grammar parser
  • Jump to label from goto/gosub or read commands
  • Shows all references to a label
  • Code upload to device
  • Integrated Terminal for LED Basic debug output

Serial port - Linux

If you get an error on code upload saying that you don't have permissions to access the serial port, add your user to the dialout group: sudo gpasswd --add ${USER} dialout

Logout and login back to appy changes.

Issues

Please report problems and feature requests on github

Licence

MIT license, see LICENSE