-
Notifications
You must be signed in to change notification settings - Fork 229
Closed
Milestone
Description
Moving Hover to co-hosting presents a few challenges.
- Hover can produce either
MarkupContentor, if Visual Studio is the client, aContainerElementfrom the Microsoft.VisualStudio.Text.Adornments namespace. For Roslyn, the production ofContainerElementhappens in the Editor Features layer, which is not part of Roslyn OOP. So, some re-layering in Roslyn will be necessary. - In multi-targeting scenarios, Hover will add text that describes which targets a tag helper or component is not available in. We'll need an API that can resolve a document file path to the projects that contains it.
- The hover infrastructure is leveraged by completion to for completion item tooltips. So, Port Completion endpoints to cohosting #10697 is dependent on work that'll happen as part of this issue.
There's also some related work that I'd like to get try and tackle:
- Hover for Razor tag helpers and components has very sketchy code that uses regex's to try and "parse" XML doc comments. We should add a facility to the Razor EA to that parses XML doc comments using Roslyn.
Metadata
Metadata
Assignees
Labels
No labels