Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Cherry LanguageNew to Visual Studio Code? Get it now.
Cherry Language

Cherry Language

Fairfield Programming Association

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

Cherry Language VSCode Extension

This extension provides syntax highlighting for the Cherry programming language.

Features

  • Syntax highlighting for Cherry language files (.cherry)
  • Support for hashtag line comments (#)
  • Highlighting for:
    • Keywords (var, func, if, while, etc.)
    • Function declarations (including compile-time functions with !)
    • Types (number, string, boolean, etc.)
    • Strings and numbers
    • Operators and punctuation
    • Comments

Installation

  1. Copy this extension to your VSCode extensions directory:

    • Windows: %USERPROFILE%\.vscode\extensions\cherry-language-1.0.0
    • macOS: ~/.vscode/extensions/cherry-language-1.0.0
    • Linux: ~/.vscode/extensions/cherry-language-1.0.0
  2. Reload VSCode

  3. Open a .cherry file to see syntax highlighting

Cherry Language Features

Comments

# This is a line comment
var x = 5; # End-of-line comment

Functions

# Regular function
func greet(name: string): string {
    return "Hello, " + name;
}

# Compile-time function
func generateCode!(count: number) {
    var! i = 0;
    while!(i < count) {
        print("Generated: " + i);
        i = i + 1;
    }
}

Variables

var regularVar = 10;      # Runtime variable
var! compileTimeVar = 5;  # Compile-time variable

Repository

https://github.com/cherry-lang/cherry-language-vscode

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