VSCode PSS Support
Language support for the Accellera Portable Stimulus Standard (PSS) 3.1.
Features
Navigation
- Outline view with full declaration hierarchy
- Go to Definition (
F12) -- across files
- Find All References (
Shift+F12)
- Call Hierarchy -- action composition via
do traversals
- Type Hierarchy -- inheritance chains and extensions
- Workspace Symbol Search (
Ctrl+T)
Editing
- Context-sensitive completions with trigger characters
. : @ <
- Signature help for function parameters
- Rename symbol across workspace (
F2)
- Code actions -- import suggestions for unresolved types
- 44 snippets covering all PSS constructs
- Document formatting
Analysis
- Syntax diagnostics (real-time ANTLR4 parsing)
- Semantic diagnostics (undefined types, duplicates, circular inheritance)
- Configurable lint rules
- Semantic tokens for AST-aware syntax highlighting
- Inlay hints for template parameters
Visualization
- Activity diagrams with click-to-navigate
- Resource binding tree view
- CodeLens showing reference/subtype counts
Quick Start
- Install the extension
- Open a folder with
.pss files
- Outline, diagnostics, and completions activate automatically
Keyboard Shortcuts
| Action |
Shortcut |
| Go to Definition |
F12 |
| Find All References |
Shift+F12 |
| Rename |
F2 |
| Outline |
Ctrl+Shift+O |
| Workspace Symbols |
Ctrl+T |
| Trigger Completions |
Ctrl+Space |
| Format Document |
Shift+Alt+F |
Configuration
Create .pssconfig.json in your workspace root for project settings
(include/exclude globs, formatting, lint rules). See
docs/CONFIGURATION.md.
CLI
Check PSS files from the command line:
npx pss-check src/
See docs/CLI.md.
Development
See docs/CONTRIBUTING.md for build instructions.
Requirements
- VS Code >= 1.75.0
- Node.js >= 18 (development only)
License
Apache 2.0 -- see LICENSE.
| |