doramatadora / vscode-fastly-vcl

Fastly Varnish Configuration Language (VCL) language support for Visual Studio Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Experimental] Fastly VCL language support for Visual Studio Code

This is the unofficial, work-in-progress Language Server Protocol (LSP) implementation for Fastly VCL. You can install the official Fastly extension from the Visual Studio Marketplace.

Feedback and feature requests: Github issues

Functionality

This extension is still in an early state. It is usable but many advanced features have not yet been implemented. Currently supported features:

  • Syntax highlighting
  • Diagnostics
  • Completions
  • Boilerplate snippets
  • Signature help
  • Documentation on hover

Syntax highlighting

Syntax highlighting

Diagnostics (with falco)

Diagnostics

Contextual completions

Completions include:

  • VCL functions
  • VCL variables
  • HTTP headers
  • Subroutine snippets
  • Fastly macros

Completions

Signature help

Signature help

Documentation on hover

Hover

About

Fastly Varnish Configuration Language (VCL) language support for Visual Studio Code

License:MIT License


Languages

Language:TypeScript 88.0%Language:jq 5.9%Language:VCL 4.1%Language:JavaScript 1.6%Language:Shell 0.4%