Pseudocode-i18n for Visual Studio Code
Write, run, check, format and visualize multilingual pseudocode directly in Visual Studio Code / Code - OSS.
Current version: 1.0.2.
Documentation: https://rod2ik.gitlab.io/vscode-pseudocode-i18n/
Quick start — 5 minutes
- Install Pseudocode-i18n from Visual Studio Marketplace or Open VSX.
- Make sure Python 3.11 or newer is available on the computer.
- Create
hello.pseudo (or hello.algo).
- Paste this example:
# language: fr
Saisir n
cible = entalea(1, n)
Tant Que Vrai:
Saisir m
Si m > cible Alors:
Afficher "Trop grand !"
Sinon Si m < cible Alors:
Afficher "Trop petit !"
Sinon:
Afficher "Gagné !"
Sortir
Fin
Fin
- Press F5 to run the file.
- Press Ctrl+K V to open the Pseudocode panel and try Diagnostics, Step-by-step execution, Documentation, Flowchart and Information.
- In Flowchart, switch between Mermaid and Graphviz and choose the text size that is comfortable for you.
The language directive is optional: the extension can also use project configuration or automatic language detection. Accepted directive forms include # language: fr, # language fr, # lang: fr and # lang fr.
Requirements and dependencies
- Visual Studio Code / Code - OSS: compatible with VS Code
^1.90.0.
- Python: 3.11 or newer must be available on the host; Python is not bundled.
- Runtime projects:
pseudocode-i18n >= 1.0.2, < 1.1 and pseudocode-i18n-languageserver >=1.0.2,<1.1.
- The extension creates and maintains its own private Python runtime and installs the coordinated core/LSP automatically. Users do not install the sibling projects manually.
- Mermaid and Graphviz support is managed by that private runtime through mermaidx and PyGraphviz. No manual
mmdc, npx, dot, neato or system Graphviz installation is required for normal extension use.
What you can do
| I want to… |
In VS Code |
| Run the current algorithm |
F5 or Pseudocode: Run File |
| See errors and warnings |
Diagnostics / Problems |
| Format the source |
Format Document / Pseudocode: Format Document |
| Get completion and snippets |
Start typing or use VS Code completion |
| Read syntax help |
Hover a keyword or open Documentation |
| Follow a definition |
Ctrl+click / Go to Definition |
| Rename or find references |
Standard VS Code symbol actions |
| See an algorigram |
Ctrl+K V → Flowchart |
| Follow execution step by step |
Ctrl+K V → Step-by-step execution |
| Export a flowchart |
SVG / PNG / Mermaid from the Flowchart view |
| Convert Pseudocode to Python |
Pseudocode: Transpile Current File |
| Choose the source language |
Pseudocode: Set Language for Current File |
Both .pseudo and .algo are first-class Pseudocode files.
Multilingual pseudocode
The same language features are available in 14 source languages. Diagnostics, snippets, documentation, Tutor labels and flowchart labels follow the detected Pseudocode source language, independently from the VS Code interface language.
|
|
Français
 |
Español
 |
Italiano
 |
Português
 |
Deutsch
 |
Nederlands
 |
Dansk
 |
Svenska
 |
Norsk
 |
Suomi
 |
Ελληνικά
 |
Українська
 |
Русский
 |
English
 |
| Code |
Language |
Explicit directive |
fr |
Français |
# language: fr |
es |
Español |
# language: es |
it |
Italiano |
# language: it |
pt |
Português |
# language: pt |
de |
Deutsch |
# language: de |
nl |
Nederlands |
# language: nl |
da |
Dansk |
# language: da |
sv |
Svenska |
# language: sv |
no |
Norsk |
# language: no |
fi |
Suomi |
# language: fi |
el |
Ελληνικά |
# language: el |
uk |
Українська |
# language: uk |
ru |
Русский |
# language: ru |
en |
English |
# language: en |
Flowcharts and step-by-step execution
The extension can render the same algorithm as Mermaid or Graphviz. Conditions use diamonds, input/output uses parallelograms, and loop bodies keep the stable vertical layout defined by the shared core. Nested loops keep that layout recursively.
The Flowchart and Tutor views share the same program model, so the highlighted execution step matches the static algorigram.
|
|
Français
 |
Español
 |
Italiano
 |
Português
 |
Deutsch
 |
Nederlands
 |
Dansk
 |
Svenska
 |
Norsk
 |
Suomi
 |
Ελληνικά
 |
Українська
 |
Русский
 |
English
 |
Installation
For normal use, install the extension from Visual Studio Marketplace or Open VSX. A local .vsix can also be installed manually when needed.
See the installation guide for runtime setup, first-start behavior and VSIX installation.
Help and troubleshooting
The user documentation contains:
Development
Contributor setup, architecture, grammar generation, testing, documentation generation and publishing are intentionally kept in the dedicated Development documentation, not in the user guide.
Ecosystem
License
See the repository license for redistribution and contribution terms.