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

OM Language

AnandShah

|
3 installs
| (0) | Free
Rich language support for OM Lang (.om) — syntax highlighting, IntelliSense, diagnostics, formatting, refactoring and more. Supports English/Hinglish and Hindi (Devanagari) keyword sets.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

OM Language for VS Code

License: MIT GitHub stars GitHub issues

Powerful VS Code extension for OM Lang (.om files) providing syntax highlighting, full IntelliSense, real-time diagnostics, code formatting, snippets, AST visualization, and integrated compiler support.

Supports multiple locales: full LSP for Hinglish, Hindi, Sanskrit + syntax highlighting for 6 additional Indian languages. Go to Definition, Find References, and Rename now work across your whole workspace, not just the open file.

Made with ❤️ by Anand Shah for the developer community

OM Lang is a localized variant of the V programming language — confirmed by directly analyzing and running the official compiler binary, not just guessed. This extension delivers a complete IDE experience built on that ground truth.

✨ Features

  • 🌈 Multi-locale Syntax Highlighting (Hinglish, Hindi Devanagari, Sanskrit, Bengali, Gujarati, Kannada, Malayalam, Marathi, Tamil, Telugu)
  • 🧠 Advanced Language Server with completion, hover, go-to-definition, references, rename, signature help, semantic tokens, document symbols
  • 🗂️ Workspace-wide navigation — Go to Definition, Find References, and Rename see across every .om file in your project, not just the one you have open
  • ▶️ Real Debug Adapter + working F5 — press F5 on a .om file and it just runs, streaming output into the Debug Console with a working Stop button. Honestly labeled: no breakpoints/stepping, since the v0.1 compiler itself has no debug protocol to hook into
  • 🧬 Struct embedding support — EmbeddedType। promotes an embedded type's fields onto the outer struct, confirmed by directly running the compiler
  • 📝 Configurable Formatter (indent size, brace style, import sorting)
  • 🛠️ Robust Diagnostics for syntax, semantic errors, unused vars, unreachable code — now cross-file-aware, so multi-file projects don't get false "undefined" errors
  • 📦 Rich Snippets for common patterns including error handling (or {}, ?), ranges, and struct embedding
  • 🚀 Commands: Run File, Compile, Show AST, Show Parse Tree, Format, Restart Server
  • 🔍 V-derived syntax support: range expressions (.. / ...), optional types (?Type), string interpolation with ₹ (including dotted paths like ₹obj.field)

See examples/ and examples/vendor/ for real OM Lang sample files that fully exercise the extension.

🚀 Installation

From Marketplace:

  1. Open Extensions sidebar in VS Code
  2. Search for "OM Language"
  3. Install the one published by AnandShah

Alternative:

  • Download .vsix from GitHub Releases or build locally (see DEVELOPMENT.md)
  • code --install-extension om-language-0.6.0.vsix

⌨️ Usage

  • F5 (or Run > Start Debugging): runs the active .om file with zero configuration, streaming output into the Debug Console
  • Command Palette (Ctrl+Shift+P): Search for "OM:" to access all commands
  • Editor title bar buttons for quick Run and Compile
  • Right-click context menu and standard LSP features (hover, Ctrl+click, Shift+F12 for references, F2 to rename — all workspace-aware)
  • Configure via Settings UI: search for "om."

Key Commands:

  • OM: Run File
  • OM: Compile File
  • OM: Show AST
  • OM: Show Parse Tree
  • OM: Format Document
  • OM: Restart Language Server

⚙️ Settings

See full list in VS Code settings.json or the extension settings page. Main ones:

  • om.language: hinglish (default), hindi, or sanskrit
  • om.format.enable, om.format.indentSize, om.format.braceStyle
  • om.lint.enable, om.lint.unusedVariables, om.maxDiagnostics
  • om.semanticHighlighting, om.trace.server, om.compilerPath

📚 Additional Documentation

  • DEVELOPMENT.md: Setup, architecture, technical deep-dive (binary analysis, spec gaps, how to extend locales), publishing steps
  • CONTRIBUTING.md: How to contribute, code standards
  • CHANGELOG.md: Version history (v0.6.0 adds a real Debug Adapter + working F5; v0.5.0 adds workspace-wide navigation; v0.2.0–0.4.x are the major real-compiler-based rebuild)
  • LICENSE: MIT

Made with ❤️ by Anand Shah for developer community


Independent open source project. OM Lang belongs to omlang.com.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft