Syntax highlighting for I2P-style pseudocode in Visual Studio Code.
Designed for introductory programming students, this extension helps you move from algorithm → flowchart → pseudocode → code with clear, readable structure and consistent formatting.
- Custom syntax highlighting for I2P-style pseudocode
- Readable keyword emphasis (e.g.,
START,IF,WHILE,CALL) - Clear distinction between:
- Variables (
lower_case) - Constants (
UPPER_CASE) - Functions and procedures
- Variables (
- Support for core constructs:
- Input / Output (
GET,PUT) - Assignment (
LET) - Conditionals (
IF,ELSEIF,ELSE,ENDIF) - Loops (
WHILE,FOR,FOREACH)
- Input / Output (
- Inline and block comments, including tagged comments:
TODO,FIXME,NOTE, etc.
- Placeholders / metavariables using
<...>for instructional scaffolding - Consistent highlighting across file extensions:
.i2p,.pseudo,.pseudocode,.psc
Syntax highlighting in action:
This example demonstrates:
- Program structure (
START/END) - Input/output operations
- Control flow (conditionals and loops)
- Comments and placeholders
A full test file is available in the repo: tests\test.i2p)
This extension works in:
Perfect for both local development and browser-based learning environments.
- Install the extension from the VS Code Marketplace
- Open or create a pseudocode file:
- Start writing using I2P conventions:
START example GET user_name LET message = "Hello, " & user_name PUT message END example
- Students in introductory programming (CS1 / I2P) courses
- Instructors teaching algorithm design and pseudocode
- Anyone who wants a structured bridge from logic → code
I2P-style pseudocode is designed to:
- Reduce cognitive load for beginners
- Reinforce good programming habits early
- Provide a consistent transition to Python and other languages
- Align with structured design practices used in real-world development
I2P-Hub is a collection of teaching and learning resources created by programming instructors to support student success in introductory courses.
Our goal is to make early programming concepts:
- Clear
- Consistent
- Practical
This extension does not collect or transmit any data.
You can review the source code or build your own VSIX file from the GitHub repository, if desired.
MIT License © 2026 I2P-Hub
- Martin Ring – TextMate grammar schema
- hanzhi713's ibcs-pseudocode – inspiration
- ChatGPT – regex refinement support
