tabletopsimulator-lua-vscode icon indicating copy to clipboard operation
tabletopsimulator-lua-vscode copied to clipboard

Extension for VSCode to make writing Lua scripts for Tabletop Simulator easier.

Tabletop Simulator Lua Extension for VSCode


VSCode-TabletopSimulator-Lua

Extension for VSCode to make writing Lua scripts for Tabletop Simulator easier.

Build Documentation Deploy Extension

Features

  • Get/Send Scripts
  • Execute Lua without Save & Play
  • Improved Code autocompletion for Lua
    • Smart GUID suggestions which scans your save file, it even detects newly-created objects.
    • Update to latest available TTS API without waiting for manual updates. (Learn More)
  • Added Code autocompletion for XML!
  • Added Version Control Support, you can now more easily use Git to manage your scripts!
  • Hover over a GUID in VSCode to Highlight the object In-Game
  • Nested file support
    • require("") for Lua
    • <Include src=""/> for XML
    • Configurable search patterns and lookup directories (yes, plural)
    • Works with absolute directories, perfect for source controlled projects
    • Debug module resolution issues right in VSCode (Never again wonder why your file isn't reachable)
  • Improved Configuration (Made them clearer and categorized)
  • Built-in Console
    • Integration with Console++ by onelivesleft (Tutorial) with Automatic Installation!
    • Send commands from VSCode (Adds onExternalCommand)
    • Receive output and debug information on VSCode Panel
    • BBCode and nested colors support!
  • Improved and extensive documentation available at tts-vscode.rolandostar.com
    • Learn how to use version control, step-by-step debugging, and more!
  • Added an experimental asset downloader, which helps you download and rehost assets via Github

Demo Reel


Installation & Usage

Additional Documentation

Release Notes

Check CHANGELOG.md

About

This project was motivated on trying out different solutions to communicate VSCode with TTS and being rather unsuccessful at that. I tried using OliPro007's Extension and was a bit finicky for me, I also checked out dustinlacewell's vatts and was able to retrieve scripts but not send them. I guess I'm just inexperienced setting up these extensions which is why I wanted to dive into it by making my own and hoped to streamline the process for someone else.

I kind of ended up doing my own thing.

If you have any suggestions feel free to contact me or submit a PR.

Contact

You can find me on Steam and Reddit!

If you like this extension, please consider a small donation.

Donate with PayPal button