Skip to content
Zed

SqlServer.Rules for Zed

io.github.erikej/sqlserver.rules

Analyze T-SQL scripts for design, naming, and performance issues and prevent bad practices.

client:Zed transport:stdio runtime:nuget

Install SqlServer.Rules in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

{
  "context_servers": {
    "sqlserver.rules": {
      "command": "dnx",
      "args": [
        "ErikEJ.DacFX.TSQLAnalyzer.Cli",
        "--yes"
      ]
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

SqlServer.Rules in other clients