Getting Started
Installation
From VS Code Marketplace
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Pike Language Support"
- 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
| Version | Status | Notes |
|---|---|---|
| Pike 8.1116 | Required | Primary development target |
| Pike 8.x latest | Best-effort | Forward compatibility tested in CI |
| Pike 7.x | Not supported | Use 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:
- Open a
.pikeor.pmodfile - Check the status bar for "Pike LSP" indicator
- Try hovering over a function to see type information
- Use F12 to navigate to a symbol definition
Keyboard Shortcuts
| Action | Shortcut |
|---|---|
| Go to Definition | F12 |
| Find References | Shift+F12 |
| Rename Symbol | F2 |
| Trigger Completion | Ctrl+Space |
| Signature Help | Ctrl+Shift+Space |
| Go to Symbol | Ctrl+Shift+O |
| Workspace Symbol | Ctrl+T |