Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>TRS-80 Model 100/200 BASICNew to Visual Studio Code? Get it now.
TRS-80 Model 100/200 BASIC

TRS-80 Model 100/200 BASIC

George M. Rimakis

|
2 installs
| (0) | Free
Language support for TRS-80 Model 100/200 BASIC programming
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TRS-80 Model 100/200 BASIC for VS Code

A VS Code extension providing language support for TRS-80 Model 100/200 BASIC programming.

Features

  • Syntax Highlighting: Full syntax highlighting for TRS-80 BASIC with support for:

    • Keywords (IF, FOR, GOSUB, etc.)
    • Built-in functions (ABS, SIN, CHR$, etc.)
    • String, numeric, and special variable types
    • Comments (REM and apostrophe)
    • Line numbers
  • Language Configuration: Proper bracket matching, auto-closing pairs, and indentation rules

  • IntelliSense & Diagnostics:

    • Autocomplete suggestions that insert parentheses or spaces based on keyword type
    • Hover documentation and signature help with parameter and return-type info
    • Type-aware diagnostics for invalid assignments and function arguments

Supported File Types

  • .DO - Idiomatic TRS-80 Model 100/200 BASIC program file (supported)

Requirements

  • VS Code 1.75.0 or higher

Installation

  1. Clone this repository
  2. Run npm install
  3. Press F5 to open the extension development host
  4. Create or open a .DO file to see syntax highlighting

Build & Package

# Install dependencies
npm install

# Build extension
npm run compile

# Package for distribution
npm run vscode:prepublish

Publishing

  1. Tag the release (e.g., git tag v0.2.0 && git push origin v0.2.0).
  2. The Release GitHub workflow runs automatically for tags starting with v, builds the bundled extension, creates a .vsix, and attaches it to the GitHub Release as well as an Actions artifact.
  3. Download the generated .vsix to install manually or use it as the payload for vsce publish.

Project Status

Phase 1: Core Extension (Complete)

  • [x] Syntax highlighting with TextMate grammar
  • [x] Language configuration
  • [x] Extension project structure
  • [x] Build and test with sample code

Phase 2: Enhanced Features (Complete)

  • [x] Keyword intellisense/autocomplete
  • [x] Function signature help
  • [ ] Code snippets
  • [x] Hover documentation (with return type info)

Phase 3: Advanced Features (In Progress)

  • [x] Diagnostic provider (type mismatches, argument validation)
  • [ ] Code formatting
  • [ ] Debugger adapter (optional)

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft