Official Visual Studio Code extension for BoseLang — the high-performance, human-friendly programming language written in 100% pure Rust.
⚡ Features
Live Code Highlighting: Comprehensive TextMate grammar covering all BoseLang control flows, functions, built-ins, 1-based collections, and string interpolation ({var}).
IntelliSense & Live Suggestions: Instant completions for keywords, methods, and functions with signature tooltips.
Hover Documentation: Hover over any keyword or method to view live markdown documentation and syntax examples.
BoseLang Snippets: Tab completions for block, loop, when, give, fix, out, and file I/O operations.
One-Click Run Button: Dedicated [▶ Run Active File] button in the editor title bar and Ctrl+F5 shortcut.
Automatic Code Formatter: Standard 4-space indentation, operator spacing, and block alignment on Save or Shift+Alt+F.
Smart bose.exe Auto-Detection: Automatically discovers bose.exe in your workspace, Windows PATH, or user configuration.
Interactive Documentation Viewer: Run BoseLang: Open Official Documentation to browse the full guide directly inside VS Code.
File Icons: Custom saffron BoseLang icon for all .bose files.
🚀 Getting Started
Open any file ending in .bose in Visual Studio Code.
Write your code:
out("Jai Hind! Welcome to BoseLang.")
Click the [▶] button in the top-right corner of the editor, or press Ctrl+F5 to execute!
⚙️ Extension Settings
This extension contributes the following settings:
boselang.executablePath: Specify a custom path to your bose.exe binary.
boselang.autoDetectExecutable: Enable/disable automatic detection of bose.exe in Windows PATH and workspace folders (default: true).
boselang.formatOnSave: Automatically format .bose files when saving (default: true).