Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>WobbleScript EssentialsNew to Visual Studio Code? Get it now.
WobbleScript Essentials

WobbleScript Essentials

Wobblabs

|
2 installs
| (0) | Free
WobbleScript language support, diagnostics, SDK tools, and project commands.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

WobbleScript for VS Code

Extension identifier: wobblabs.wobblescript.

The extension registers .wbs files with syntax coloring, bracket/indent handling, snippets, IntelliSense, semantic tokens, and compiler diagnostics in Problems. It also contributes a WobbleScript file icon theme, .wbsproj JSON validation/completion, workspace symbol completion, signature help, hover with /// documentation, go-to-definition, references, rename, document outline, and folding. Format Document and Format Selection use the SDK formatter; Format on Save works with VS Code's standard setting. SDK detection and commands run/check/compile/build/debug/clean/format/create projects. Compiler checks use the real wobble check --json output.

Use WobbleScript: Generate Project Documentation to generate Markdown and offline HTML, Preview Generated Documentation to open its HTML, and Check Documentation to report missing docs and broken references. The editor offers Add WobbleScript documentation comment as a quick fix for declarations without a preceding /// comment. The CLI also supports optional non-executing example validation.

Install the extension

For local development, run npm ci, npm run typecheck, npm run compile, and npm run package from this folder. Install wobblescript-26.0.7.vsix through Extensions: Install from VSIX.... This package is unsigned and has not been published to the Marketplace. The package manifest is marked UNLICENSED; no project license has been selected.

Set wobblescript.sdkPath to the extracted SDK root or run WobbleScript: Select SDK. Version 26.0.7 of the extension requires SDK 26.0.7 or newer for formatter support. Automatic detection checks that setting, WOBBLESCRIPT_HOME, common user install folders, and PATH. The SDK is one combined WobbleScript executable; compilerPath and runtimePath can point to explicit CLI executables, but the runtime does not ship as a separate process. The extension never downloads or runs an installer.

To show the .wbs file icon, choose WobbleScript: Select File Icon Theme and select WobbleScript Icons. VS Code allows an extension to contribute an icon theme, but does not let an extension silently switch the user's global icon theme.

Commands

  • Run File checks the open source file, then invokes the actual CLI/WVM in an integrated terminal.
  • Check File publishes compiler errors and warnings into Problems.
  • Format Document and Format Selection use the SDK formatter; set editor.formatOnSave to enable save-time formatting.
  • Format Workspace formats all source files in the active workspace.
  • Compile File writes bytecode into Build/.
  • Build Project invokes the .wbsproj builder with the configured debug or release settings.
  • Debug File opens the existing interactive CLI debugger in a terminal.
  • Create Project asks for a parent directory, project name, and console/windowed/empty template.
  • Select SDK, Locate SDK, Install SDK, Clean Project, and Open Documentation provide SDK and project helpers.
  • Generate Project Documentation, Preview Generated Documentation, Check Documentation, and Insert Documentation Comment connect the documentation generator to the editor.

Language features currently run as VS Code providers, not a separate JSON-RPC LSP server. Diagnostics invoke the compiler CLI; completion and navigation use the extension's workspace scanner and are not a complete semantic index. The debugger is not a VS Code Debug Adapter Protocol server, so breakpoint, call-stack, and variable panels are not connected. Native .exe/.app bundling is not available; compiler outputs are WBC bytecode for a compatible WVM.

Package commands

The command palette includes package search, add/remove, update, list, check, and restore actions. These call the configured SDK CLI in the active project. Completion in the .wbsproj dependencies object uses packages already installed in the project. See the package manager guide for registry setup and current local-only registry support.

To try language support from this repository, open the repo in VS Code, press F5, and select Run WobbleScript IntelliSense. In the Extension Development Host, open Examples/hello.wbs and try snippets such as main, print, and if.

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