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

pLang

浣芷轩

|
1 install
| (0) | Free
PLang language support: syntax highlighting + LSP (completion, go-to-definition, hover, diagnostics)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PLang VS Code Extension

PLang language support for VS Code: syntax highlighting + LSP client (diagnostics, go-to-definition, hover, completion).

Features

  • Syntax highlighting: keywords, types, strings, numbers, comments, function names, operators (syntaxes/plang.tmLanguage.json)
  • LSP services: diagnostics (squiggles), Ctrl+Click go-to-definition, hover, completion, rename

Install (development mode)

# 1. Build the LSP server and compiler (in the pLang project)
cd ~/Documents/pLang
cmake --build cmake-build-debug

# 2. Install extension dependencies
cd ~/Documents/plang-vscode
npm install

# 3. Open the extension folder in VS Code and press F5 (Extension Development Host)
code ~/Documents/plang-vscode

After pressing F5, open any .plang file:

  • Keywords are colored immediately (syntax highlighting, no LSP needed)
  • Diagnostics / go-to-definition / completion become active within seconds (LSP connected)

Package & Install (release)

cd ~/Documents/plang-vscode
npx @vscode/vsce package        # produces plang-vscode-0.0.0.vsix
code --install-extension plang-vscode-0.0.0.vsix

Configuration

Setting Description
plang.lspServerPath Path to the lsp-server executable (default: pLang build output)
plang.compilerPath Path to the plc compiler (default: pLang build output)

Dependencies

  • vscode-languageclient (npm)
  • lsp-server executable (built from the pLang project)
  • plc compiler (built from the pLang project, used for command-line builds)

PLang is developed by the PeYT organization. Contributors: ieshishinjin, Carry-Rao, MaherJon.

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