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

MyLng Official Support

MyLng

| (0) | Free
Rich syntax highlighting for the MyLng programming language (.my files)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MyLang — VS Code Extension

Rich syntax highlighting for the MyLang programming language (.my files).

Features

🎨 Full Syntax Highlighting for all MyLang constructs:

  • Keywords — let, print, if, while, for, in, func, return, import
  • ML/AI Keywords — model, endmodel, train, with, predict
  • Collection Operations — push, pop
  • Built-in Functions — sqrt, log, exp, sin, cos, sum, mean, len, tensor, dot, matmul, load
  • Constants — true, false, null
  • Strings — "Hello World" with escape character support
  • Numbers — integers and floats
  • Comments — # single line comments
  • Operators — + - * / % ^, = =! > < >= <=, .. (range), and or not
  • Function & Model definitions — highlighted with distinct colors

📝 Editor Support:

  • Comment toggling (Ctrl+/)
  • Auto-closing brackets and quotes
  • Indentation-based code folding
  • Smart indentation for block-starting keywords

Example

# Variables
let name = "Abdullah"
print name

# Functions
func greet name
    print "Hello " + name
greet "Ali"

# Loops
for i in 0..5
    print i

# ML Model
model myNet
    dense 128 relu
    dense 10 softmax
endmodel
train myNet with data epochs 50 lr 0.001

File Extension

This extension activates for files with the .my extension.

Installation

  1. Download the .vsix file
  2. Open VS Code
  3. Press Ctrl+Shift+P → "Extensions: Install from VSIX..."
  4. Select the .vsix file
  5. Reload VS Code

Requirements

  • VS Code 1.125.0 or higher
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft