Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Drogon CSPNew to Visual Studio Code? Get it now.
Drogon CSP

Drogon CSP

marty1885

|
1,119 installs
| (0) | Free
Syntax Highlighting support for Drogon's CSP template files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Drogon CSP

This extenstion adds syntax highlighting support for Drogon Web Framework's generic CSP templating system.

Features

CSP (C++ Server Pages) is Drogon's generic text templating system. Though commonly used for generating HTML. It's really generic and capable of generating other text files. For example, JSON or Vue. This extenstion provides syntax highlighting for CSP and injects the syntax into common CSP targets, espically HTML and Vue.

  • CSP syntax highlighting
  • Syntax injection into HTML and Vue sources

Preview

Plan CSP

screenshot2

HTML syntax with embedded CSP

screenshot (Set the syntax to HTML and it will be automatically enabled)

Contribution

Feel free to open an issue or a PR for bugs, embedded into new syntax or anything

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft