-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed as not planned
Labels
Area-AnalyzersArea-IDEConcept-APIThis issue involves adding, removing, clarification, or modification of an API.This issue involves adding, removing, clarification, or modification of an API.Question
Milestone
Description
I've been developing a few extensions for Visual Studio and have been consuming the VisualStudioWorkspace.WorkspaceChanged event. This event doesn't tell me anything more than "Document X has changed".
The AnalysisContext API looks like a much richer experience. (I haven't actually built any Analyzers myself). It appears to allow analyzers to wait for compilations, semantic models for individual files and more.
Waiting for a background compilation to have completed sounds particularly appealing to me. I don't want my extension to be responsible for triggering unnecessary compilations. I'd be interested to hear from other VS Extension authors who have also used the VisualStudioWorkspace.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-AnalyzersArea-IDEConcept-APIThis issue involves adding, removing, clarification, or modification of an API.This issue involves adding, removing, clarification, or modification of an API.Question