Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>TargaScriptNew to Visual Studio Code? Get it now.
TargaScript

TargaScript

Miguel Targa

|
5 installs
| (4) | Free
Syntax highlighting for TargaScript (.tg) files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TargaScript Language Support for VS Code

This extension provides syntax highlighting for TargaScript (.tg) files in Visual Studio Code.

Features

  • Syntax highlighting for TargaScript files
  • Recognition of language keywords, operators, and built-in functions
  • Support for TargaScript's specific syntax constructs

TargaScript

TargaScript is a programming language designed by Miguel Targa. For more information about the language, visit the TargaScript GitHub repository.

Example

Here's how TargaScript code looks with this syntax highlighting:

// Fibonacci function in TargaScript
fn fibonacci(n) {
  if (n <= 1) {
    return n
  }
  return fibonacci(n-1) + fibonacci(n-2)
}

// Print first 10 Fibonacci numbers
let i = 0
repeat i < 10 {
  print(fibonacci(i))
  i = i + 1
}

Installation

  1. Launch VS Code
  2. Go to Extensions view (Ctrl+Shift+X or Cmd+Shift+X)
  3. Search for "TargaScript"
  4. Click Install

Manual Installation

If you prefer to install the extension manually:

  1. Download the latest release from the GitHub repository
  2. Unzip the downloaded file
  3. Copy the folder to your VS Code extensions folder:
    • Windows: %USERPROFILE%\.vscode\extensions
    • macOS/Linux: ~/.vscode/extensions
  4. Restart VS Code

Issues and Contributions

For issues, feature requests, or contributions, please visit the extension's GitHub repository.

License

This extension is licensed under the MIT License.

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