Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Tunisian Algo Language SupportNew to Visual Studio Code? Get it now.
Tunisian Algo Language Support

Tunisian Algo Language Support

RedLeZ

|
1 install
| (1) | Free
Syntax highlighting for .algo (AlgTPy) files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Algo Language Support

Basic syntax highlighting for .algo files (AlgTPy language) in VS Code.

Features

  • Highlights program structure (algorithme, début/fin, TDNT/TDO)
  • Control flow (si/alors/sinon, tant que, pour, répéter/jusqu’à, selon, cas)
  • Procedures/functions and retourner
  • Types (entier, réel/reel, booléen/booleen/bool, caractère/caratere, chaîne/chaine, enregistrement, tableau, fichier)
  • Literals (numbers, strings, chars, booleans)
  • Operators (assignment <-, arithmetic, comparisons, logical et/ou/ouex, non, @)
  • Line and block comments

Install (local dev)

  1. Open this folder in VS Code: extensions/algo-syntax
  2. Press F5 to launch an Extension Development Host. Open any .algo file to see highlighting.

Alternatively, you can use the Command Palette:

  • "Developer: Install Extension from Location..." and choose this folder

File icons for .algo

This extension also provides a file icon theme that shows a custom icon for .algo files.

Enable it in VS Code:

  1. Command Palette → "File Icon Theme: Set File Icon Theme"
  2. Choose "Algo Icons"

You can switch back anytime from the same menu.

Files

  • package.json – Extension manifest (language + grammar contributions)
  • language-configuration.json – Brackets, comments, auto-closing pairs
  • syntaxes/algo.tmLanguage.json – TextMate grammar rules
  • images/icon.svg – Source vector icon (export to PNG before publishing)
  • images/file-algo.svg – Icon used by the file icon theme for .algo files
  • fileicons/algo-icon-theme.json – File icon theme definition
  • LICENSE – GNU GPLv3 license for the extension

Notes

  • This is a minimal, regex-based highlighter and does not parse the language.
  • You can refine patterns or add more scopes for better theming.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft