Step-by-step guide
- Install Visual Code using these instructions.
- Install extensions (see below)
- Configure (see example below)
- Open your TrafficServer code repository with the Open...File menu.
Extensions
There's a number of extensions (plugins) for Visual Code. You can install these extensions via the extensions manager, just search for the various names.
Must have
These are the extensions we believe you really will want to use. Remember that some of them require other software, like the CScope tools (via HomeBrew).
- vscode-cpptools: C/C++ IntelliSense, debugging, and code browsing
- vscode-gitlens: GitLense - Git Super Charged
- BracketPair: A customizable extension for colorizing matching brackets
- editorconfig-vscode: EditorConfig Support for Visual Studio Code
- vscode-clang-format-provider: Use Clang-Format in Visual Studio Code
- vscode_autotools: Syntax support for the Autoconf M4 and Automake files (Autotools)
Related articles