Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tooltips to members from XML documentation #7

Open
manio143 opened this issue Oct 10, 2020 · 0 comments
Open

Add tooltips to members from XML documentation #7

manio143 opened this issue Oct 10, 2020 · 0 comments
Labels
enhancement An enhancement to the existing features

Comments

@manio143
Copy link
Owner

Reading the XML doc format is explained here: https://docs.microsoft.com/en-us/archive/msdn-magazine/2019/october/csharp-accessing-xml-documentation-via-reflection

We can make a similar class to this: https://github.com/stride3d/stride/blob/master/sources/editor/Stride.Core.Assets.Editor/Services/UserDocumentationService.cs

Then add public string Tooltip { get; } to the MemberViewModel, which in its ctor would get and call DocumentationService.
Note: this will impose a dependency on IServiceRegistry across all view models that create members.

@manio143 manio143 added the enhancement An enhancement to the existing features label Oct 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement to the existing features
Projects
None yet
Development

No branches or pull requests

1 participant