Skip to content
| Marketplace
Sign in
Visual Studio>Tools>EF QueryLens
EF QueryLens

EF QueryLens

EF QueryLens

|
347 installs
| (0) | Free
Preview your EF Core SQL in real time, without leaving your IDE.
Download

EF QueryLens for Visual Studio

Preview your EF Core SQL in real time, without leaving your IDE.

EF QueryLens for Visual Studio provides hover-based SQL preview and quick SQL actions for Entity Framework Core LINQ queries.

Features

  • Hover SQL preview for LINQ queries
  • Copy SQL action
  • Open SQL action in dedicated viewer
  • Refresh analysis action
  • Structured split-query rendering

Screenshots

EF QueryLens Visual Studio Single Query

EF QueryLens Visual Studio Multi Query

Requirements

  • Visual Studio 2022 (17.14+)
  • .NET 8 or later runtime (10 recommended; the extension uses RollForward so 8 / 9 / 10 all work)
  • .NET 10 SDK (only for local development/build)
  • EF Core project

Local Build

The VS extension is strong-named with build/sgKey.snk (required for local/CI VSIX builds). The in-proc host uses wire DTOs under Host/Contracts/ and does not reference EFQueryLens.Lsp.Protocol; the LSP server bundle under server/ still includes Protocol for the out-of-proc process.

dotnet clean src/Plugins/ef-querylens-visualstudio/EFQueryLens.VisualStudio/EFQueryLens.VisualStudio.csproj
dotnet build src/Plugins/ef-querylens-visualstudio/EFQueryLens.VisualStudio/EFQueryLens.VisualStudio.csproj -c Debug

For F5 debugging, use Debug → Reset the Visual Studio Experimental Instance after large host changes so stale extension files are not reused.

More

  • Repository: https://github.com/querylenshq/ef-querylens
  • Docs: https://github.com/querylenshq/ef-querylens/tree/main/docs
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft