VS Code extension

Package: efvibe.vscode-efvibe (v0.3.1+). Source: vscode-extension/.

Install

Build the CLI from the repo (includes efvibe serve), then package the extension:

dotnet build src/MyEfVibe/MyEfVibe.csproj
cd vscode-extension
npm install
npm run package
code --install-extension "vscode-efvibe-0.3.1.vsix"

Reload the window after install. See INSTALL.md for Cursor and update steps.

Fast Run Selection (efvibe serve)

By default, Run Selection talks to a long-running efvibe serve process instead of starting a new CLI for every query. The EF project is built once; the same DbContext stays loaded — much faster for iterative work.

Set efvibe.useDaemon to false to force one-shot efvibe -e per run. Point efvibe.toolPath at a local myefvibe build if the global tool does not yet include serve.

Details: efvibe daemon design doc.

Result panel

With efvibe.resultDestination set to panel (default):

Scan Review (carousel)

efvibe: Scan Workspace runs efvibe scan lite or deep and opens a review tab — one finding at a time:

Commands

Settings

{
  "efvibe.project": "${workspaceFolder}/src/MyApp.Persistence/MyApp.Persistence.csproj",
  "efvibe.startupProject": "${workspaceFolder}/src/MyApp.Api/MyApp.Api.csproj",
  "efvibe.context": "AppDbContext",
  "efvibe.dbLog": true,
  "efvibe.useDaemon": true,
  "efvibe.resultDestination": "panel",
  "efvibe.toolPath": "/path/to/myefvibe",
  "efvibe.scan.mode": "lite",
  "efvibe.scan.openReviewOnScan": true,
  "efvibe.scan.problemsPanel": false
}
SettingDescription
efvibe.useDaemonWhen true (default), Run Selection uses efvibe serve; falls back to one-shot if unavailable
efvibe.resultDestinationpanel (split webview), output, or terminal (one-shot CLI text)
efvibe.scan.openReviewOnScanOpen Scan Review carousel after scan (default true)
efvibe.scan.problemsPanelAlso show findings in Problems (default false)
efvibe.toolPathPath to myefvibe / efvibe for latest CLI features
VS Code extension with result and SQL panel
Run Selection — results and SQL beside your C# editor

Repository snippets

Select handler LINQ (with await, DbContext, parameters) and run — the CLI adapts the snippet before evaluation. Edit stubbed values in the panel (e.g. replace Guid.Empty with a real id) and re-run. See repository snippets for limits.