Skip to main content

Getting Started

Installation

From VS Code Marketplace

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

From VSIX File

code --install-extension vscode-pike-1.0.0.vsix

Build from Source

# Clone the repository
git clone https://github.com/TheSmuks/pike-lsp.git
cd pike-lsp

# Install dependencies
bun install

# Build all packages
bun run build

# Package the VS Code extension
cd packages/vscode-pike
bun run package

Requirements

Compatibility

Supported Pike Versions

VersionStatusNotes
Pike 8.1116RequiredPrimary development target
Pike 8.x latestBest-effortForward compatibility tested in CI
Pike 7.xNot supportedUse Pike 8.1116 or later

Version Detection

The analyzer detects and reports the Pike version at runtime. This information is available in the VS Code "Pike Language Server" output channel and via the "Pike: Show Health" command.

Verification

After installation, verify that Pike LSP is working:

  1. Open a .pike or .pmod file
  2. Check the status bar for "Pike LSP" indicator
  3. Try hovering over a function to see type information
  4. Use F12 to navigate to a symbol definition

Keyboard Shortcuts

ActionShortcut
Go to DefinitionF12
Find ReferencesShift+F12
Rename SymbolF2
Trigger CompletionCtrl+Space
Signature HelpCtrl+Shift+Space
Go to SymbolCtrl+Shift+O
Workspace SymbolCtrl+T