Home / Companies / Fastly / Blog / Post Details
Content Deep Dive

Your Fastly VCL deserves an IDE: bringing full VCL language support to Visual Studio Code

Blog post from Fastly

Post Details
Company
Date Published
Author
Leon Brocard
Word Count
467
Language
English
Hacker News Points
-
Summary

Configuring Fastly services using Varnish Configuration Language (VCL) has been enhanced with a Visual Studio Code extension that provides a comprehensive suite of features for developers. Initially offering syntax highlighting through VS Code's declarative language extension, the extension now includes diagnostics, contextual completions, signature help, and documentation on hover, utilizing programmatic language extension APIs to enhance development efficiency. Recent upgrades have expanded its functionality to include features such as navigating to definitions, finding all references, document formatting, code folding, renaming symbols, and displaying symbol outlines and breadcrumbs for better navigation. Additional tools like inlay hints and smart selection ranges further streamline the coding process. Powered by the falco VCL developer tool, this extension transforms VS Code into a robust IDE for managing Fastly VCL configurations, making it easy for users to install and leverage these capabilities directly in their development environment.