Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>PlanScriptNew to Visual Studio Code? Get it now.
PlanScript

PlanScript

José F. Romaniello

| (0) | Free
Syntax highlighting and language support for PlanScript floor plan DSL
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PlanScript for VS Code

Syntax highlighting and language support for PlanScript floor plan DSL.

Features

  • Syntax highlighting for .psc files
  • Go to Definition (Ctrl+Click on room names)
  • Hover information
  • Document outline
  • Autocomplete for keywords

Example

units m
defaults {
  door_width 0.9
  window_width 2.4
}

plan "My House" {
  footprint rect (0,0) (20,15)

  room living {
    rect (1,1) (9,7)
    label "Living Room"
  }

  room kitchen {
    rect size (4,6)
    attach east_of living
    align top
    gap 0
    label "Kitchen"
  }

  opening door d1 {
    between living and kitchen
    on shared_edge
    at 50%
  }
}

Installation

From VS Code Marketplace

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "PlanScript"
  4. Click Install

From VSIX file

code --install-extension vscode-planscript-0.1.0.vsix

Related

  • planscript - The PlanScript compiler (CLI & library)

License

MIT

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