The extension for Visual Studio Code (aka VSCode – the popular free text editor from Microsoft) that implements syntax highlighting for kamailio.cfg got several updates since it was first released more than 3 years ago.

The version 1.0.8 was just released, with improvements in detecting indexes and transformations used with pseudo-variables, catching also properly the use of # in transformations, which was conflicting with line comments.

The code of the extension (including docs and a screenshot) is available at:

It can be installed from VSCode marketplace:

Launch VS Code Quick Open (Cmd+P or ⌘+P or Ctrl+P ), paste the following command, and press enter.

ext install kamailio-syntax

Enjoy!