Skip to content

A VS Code Language extention for TradeWars Script

License

Notifications You must be signed in to change notification settings

TW2002/twscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

A VS Code Language extention for TradeWars Script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published