Skip to content

thisisthedarshan/vscode-pss

Repository files navigation

PSS Support for VS Code

VS Code Marketplace Visual Studio Marketplace Downloads PSS Langserver License

Welcome to the PSS Support for VS Code extension, your comprehensive toolkit for working with Accellera's Portable Stimulus Standard (PSS) specifications in the VS Code editor. This extension brings the power of modern editor features to PSS development, enabling you to write, format, and explore PSS code effortlessly.

🚀 Features

🌟 Syntax Highlighting

  • Enjoy precise and vibrant syntax highlighting for all PSS constructs, including:
    • Data types
    • Keywords
    • Operators
    • Comments
    • Embedded code (C and SystemVerilog)

✨ Snippets

  • Boost your productivity with ready-to-use code snippets for:
    • Components
    • Functions
    • Templates
    • Control flow constructs (e.g., if, foreach, while)

🛠️ Code Formatting

  • Automatically format your PSS code to adhere to industry best practices.
  • Google C-style formatter support for C and embedded SystemVerilog code.
  • Ensures consistency and readability with:
    • Proper indentation
    • Alignment of comments and braces

🧠 Code Completion

  • Intelligent suggestions for PSS keywords, types, and functions as you type.
  • Support for built-in libraries and user-defined elements.
  • Signature help for built-in functions with parameter descriptions.

🔗 Embedded Code Support

  • Highlight and format embedded C and SystemVerilog code within PSS constructs.
  • Seamless integration for multi-language workflows.

📖 Documentation Comments

  • Enhanced support for /** */ and /* */ comments:
    • Auto-alignment of * in multi-line comments.
    • Formatting improvements for better readability.

🔍 Additional Features

  • Scope resolution highlighting (e.g., x::y).
  • Inheritance syntax highlighting (e.g., : base_class).
  • Triple-quoted and {}-enclosed string support for embedded languages.
  • Inline validation for unclosed comments and syntax issues.

📥 Installation

  1. Install directly from the VS Code Marketplace.
  2. Follow the Install Guide to find more ways of installing.

📚 Learn More

💡 Usage Tips

  • Use the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on macOS) to:
    • Format your document (Format Document).
    • Trigger snippets (Insert Snippet).

🛠️ Contributing

This is a work-in-progress project and my first extension! I welcome feedback, suggestions, and contributions to improve this extension. Feel free to open an issue or submit a pull request on the GitHub repository.

📜 License

This extension is released under the MIT License.


Thank You for Using PSS Support for VS Code! 🎉