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

HAProxy

Bojan Markovic

|
33,011 installs
| (2) | Free
HAProxy Configuration Syntax Highlighter and Snippets
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

HAProxy for Visual Studio Code

This is the syntax highlighter for HAProxy/HAPEE configuration files, based on sublime-haproxy Sublime Text package.

See: https://www.haproxy.com/ (HAPEE) http://www.haproxy.org/ (HAProxy)

Features

  • Syntax highlighting for HAProxy configuration files (haproxy.cfg), greatly expanded from Sublime Original, and adjusted to better fit VS Code coloring schemas
  • Basic snippets for most common blocks of configuration text i.e. frontends, backends, listeners, acls, userlists
  • A global/default config starter template -- available as a snippet.

Known Issues

Currently it will automatically triger only on files called "haproxy.cfg" verbatim, but you can always set syntax manually by pressing Ctrl + K, M and then typing haproxy or selecting from the drop down.

Release Notes

0.1.2

  • Added stick table, stick table aggregator, peers and resolvers syntax

0.1.1

  • Integrated the changes from https://github.com/nvtkaszpir/sublime-haproxy
  • Simplified regexes for better maintainability
  • Additional syntax
  • Snippets for common configuration blocks

Unreleased

Initial version of HAProxy for Visual Studio Code -- just repackaged sublime-haproxy

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