Skip to content

PSSTools/vscode-pss-support

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Install the extension
  2. Open a folder with .pss files
  3. 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.

About

VSCode support for the Accellera Portable Stimulus Specification (PSS) language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages