Skip to content
A VS Code Language extention for TradeWars Script
TypeScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Source/twscript-20.20.1
.gitignore
LICENSE
README.md

README.md

What is tscript?

tscript is a TradeWars 2002 (TW2002) scripting language used by the TWX Proxy helper application.

This VS Code extension integrates the tscript language into the VS Code IDE for files with a .ts/.tws extention.

How do I install tscript?

Installation from the marketplace is coming soon.

Manual Installation:

  • Install VS Code from https://code.visualstudio.com.

  • Navigate to your VS Code extensions folder.
    Windows: %USERPROFILE%/.vscode/extensions.
    Mac/Linux: $HOME/.vscode/extensions.

  • Dowload this extention, and unzip into folder under the extensions folder called "twscript-20.20.1".

  • Open VS Code, and open the Color Theme picker with File > Preferences > Color Theme.
    You can also use the keyboard shortcut Ctrl+K Ctrl+T to display the picker.
    Select "[TWX] Dark Theme" from the picker.

  • You can also select the theme from the extention settings:

image

Features

  • Linter - analyzes source code to flag programming errors, bugs, stylistic errors, and suspicious constructs.
  • Snippets - Just a few (i.e. comments, if/then, triggers). Need to build on this.
  • Themes - Well, one dark and exuberant 80's sixteen color BBS style theme anyway.
  • Debugger - Coming Soon

Screenshot

image I hope I didn't go too overboard with this exuberant 80's sixteen color BBS style theme!

You can’t perform that action at this time.