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

aplang

Aplang

|
25 installs
| (0) | Free
Syntax highlighting for aplang
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ApLang extension for Visual Studio Code

A Visual Studio Code extension with basic syntax highlighting for ApLang, the programming languaged used on the AP Computer Science Principles exam.

Quick Start

  1. Install Rust and ApLang
  2. Install the ApLang extension for Visual Studio Code
  3. Open or create a new .ap file and start coding!

Links

  • Website
  • ApLang Repo
  • ApLang Book Repo
  • ApLang VSCode Plugin Repo (You are here)

Feature Details

The ApLang extension provides syntax highlighting for the following language features:

  • Imports: Supports module imports using IMPORT and MOD keywords.
  • Functions: Highlights both function definitions and calls, with support for function parameters and exported functions (EXPORT).
  • Control Flow: Recognizes flow control keywords like IF, ELSE, FOR, RETURN, etc.
  • Operators: Logical operators (AND, OR, NOT), comparison operators (=, !=, >, <), and mathematical operators (+, *, -, /) are supported.
  • Variables and Constants: Highlights numeric constants, booleans, and variable names.
  • Strings: Supports both single-quoted and double-quoted string formats with interpolation.
  • Comments: Both single-line (//) and block comments (/* */) are highlighted, with support for nested block comments.

Planned Features

  • [ ] Code Formatting & Refactoring
  • [ ] Debugging

Feature Request

Please submit an issue ticket

Contributing

We welcome contributions to the APLang extension! Whether you're fixing bugs, adding new features, or improving documentation, your help is appreciated!

To make code changes:

  1. Fork the repository.
  2. Create a new branch for your features or bug fixes.
  3. Write tests for your changes. (if applicable)
  4. Make sure all tests pass.
  5. Submit a pull request.

Standard stuff!

Credits

This extension was created by @vio-eli

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