Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Turing VscodeNew to Visual Studio Code? Get it now.
Turing Vscode

Turing Vscode

Jumner

|
15,791 installs
| (2) | Free
An extension that adds syntax highlighting, snippets, "debugging", and basic autocomplete to the Canadian education programming language Turing.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Turing Vscode


Turing Vscode (originally Turing Syntax Highlighting) is a language extension that adds basic language support using OpenTuring.

GitHub release GitHub last commit GitHub issues GitHub pull requests Installs LICENSE


Features

  • Syntax highlighting which makes it look pretty
  • Snippets for remembering the intricacies of Turing
  • Run turing straight from Vscode
  • Basic intellisense for faster programming
  • Just hover over any function to learn what it does
  • Signature help tells you what parameter you need to enter

Note that I am no longer actively working on the project and so there wont be any versions for a while. If anyone makes a pull request I will probably accept it once I get around to checking on this project. In the meantime, I hope this extension makes your turing experience just a little better.


Requirements

  • You must have OpenTuring installed and linked in settings for debugging to work.
  • Wine must be installed if you're on Mac/Linux for debugging to work.

Dev

Start by cloning the repository

git clone https://github.com/Jumner/TuringVscode.git && cd TuringVscode

Then install all the needed packages just in case

npm install

Install vsce for building the extension

npm install -g vsce

Thats pretty much it, Just hit f5 to debug and you can create a vsix package with

vsce package

Extension Settings

Turing Vscode contributes the following settings:

  • tsh.pathToOpenTuring: This is the absolute path to turing.exe

Known Issues

  1. The autocomplete does not suggest module functions and constants without the module prefix.
  2. A few niche functions, keywords and modules are not included. Notably, the Gui module.
  3. Signature help shows optional parameters with a question mark like typescript but hover shows the bracket notation as in the Turing documentation.
  4. The restart button in Windows debugging still doesn't work.

Please report any issues you discover to the issue page


Planned Features

  • General code cleanup and bug fixes.
  • Prevent autocomplete from stopping newlines which can be annoying when declaring variables.
  • Centralizing Turing objects so that descriptions and other properties are only stored in one place. This means grabbing an autocomplete would be asking all the objects for their autocompletes instead of creating new ones with local data that could be different from other features.
  • Basic syntax errors could be detected before runtime such as parameter overflow, and type errors.
  • Make autocomplete smarter with object oriented turing.
  • Possibly switch from regex to textMate syntax highlighting to declutter.

Any wanted features can be reported as an issue under the issue page tagged as enhancement


Github Information

  • Github repository

This is my first Vscode extension and I am pretty new to everything. Because of this, pull requests would be greatly appreciated if anyone stumbles into this! Please report any issues that you run into when using the extension.


Release Notes

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