Skip to content

Opt out of IntelliSense-ready deferral for the EF entity designer editor factory#95

Open
davkean wants to merge 1 commit into
dotnet:mainfrom
davkean:dev/davkean/editor-factories-opt-out-defer
Open

Opt out of IntelliSense-ready deferral for the EF entity designer editor factory#95
davkean wants to merge 1 commit into
dotnet:mainfrom
davkean:dev/davkean/editor-factories-opt-out-defer

Conversation

@davkean

@davkean davkean commented Jul 22, 2026

Copy link
Copy Markdown
Member

deferUntilIntellisenseIsReady defaults to true for editor factories, so the EF entity designer waits for IntelliSense readiness before opening even though it doesn't use the DTE CodeModel — its code generation is delegated to a single-file generator, not the code model. This sets deferUntilIntellisenseIsReady: false on the MicrosoftDataEntityDesignEditorFactory registration in the generated Package.cs so it opens without the wait.

Part of a cross-repo sweep flipping non-CodeModel editor factories to opt out of the deferral.

Cowritten with Copilot (Claude Opus 4.8)

…tor factory

The entity (.edmx) designer doesn't reach CodeModel on open, so it has no reason to wait for IntelliSense. Sets DeferUntilIntellisenseIsReady=false on both the ProvideEditorFactory attribute and the checked-in pkgdef so they stay in sync -- the package ships a hand-authored pkgdef that is the authoritative registration for this editor factory.

*Cowritten with Copilot (Claude Opus 4.8)*
@davkean
davkean force-pushed the dev/davkean/editor-factories-opt-out-defer branch from c3aa31d to 73190db Compare July 22, 2026 07:08
@davkean
davkean marked this pull request as ready for review July 22, 2026 07:37
@davkean
davkean requested a review from a team as a code owner July 22, 2026 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant