Surge Language SupportSyntax highlighting and real-time diagnostics for Surge configurations, modules, and rule sets in Visual Studio Code. Requires Surge Mac 6.10.0 or later and VS Code 1.85 or later on macOS. Features
Getting started
If a file is not detected automatically, select Surge Configuration, Surge Module, or Surge Rule Set from the language menu at the bottom right. Rule Set mode supports RULE-SET files, not plain domain lists (DOMAIN-SET). Standalone Settings and troubleshootingThe default CLI path is The extension checks CLI compatibility before starting diagnostics and prompts you to upgrade if the installed CLI is too old. If diagnostics are unavailable, confirm your Surge version and CLI path, then run Surge: Restart Language Server. Details are available in Output → Surge Language Server. Diagnostics run locally and do not apply changes to Surge. Remote workspaces and VS Code for the Web are not supported. |