Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>P4New to Visual Studio Code? Get it now.
P4

P4

Christophe Beaulieu

|
2,745 installs
| (0) | Free
A language server for the P4 language
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

P4 Language Server

Based on the Microsoft Language server extensions lsp-sample.

Functionality

This Language Server works for p4 file. It has the following language features:

  • Syntax Highlighting
  • Semantics Highlighting
  • Completions
  • Diagnostics regenerated on each file change or configuration change

It also includes an End-to-End test.

Structure

.
├── client // Language Client
│   ├── src
│   │   ├── test // End to End tests for Language Client / Server
│   │   └── extension.ts // Language Client entry point
├── package.json // The extension manifest.
└── server // Language Server
    └── src
        └── server.ts // Language Server entry point
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft