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

Rich Text Tooltips #1654

Merged
merged 18 commits into from
Oct 31, 2019
Merged

Rich Text Tooltips #1654

merged 18 commits into from
Oct 31, 2019

Conversation

siegfriedpammer
Copy link
Member

@siegfriedpammer siegfriedpammer commented Aug 21, 2019

image

Missing features:

  • Support for inheritdoc
  • Hyperlinking/cref
  • Semantic highlighting of types/members
  • Tooltip is not immediately closed after navigating to a new entity

@siegfriedpammer siegfriedpammer added UI Enhancement Areas for improvement labels Aug 21, 2019
@siegfriedpammer siegfriedpammer added this to the v6.0 milestone Aug 21, 2019
@siegfriedpammer
Copy link
Member Author

siegfriedpammer commented Sep 14, 2019

@dgrunwald I am currently thinking about how to best add highlighting, i. e., RichTextModel to the Language.GetTooltip API. Do you have a suggestion? I don't think an out parameter is a good idea.

edit: this is necessary to make the tooltips language agnostic and to be able to use the semantic highlighter.

@siegfriedpammer
Copy link
Member Author

An updated screenshot:

image

@siegfriedpammer siegfriedpammer changed the title RFC: Fancy tooltips Rich Text Tooltips Oct 8, 2019
@yyjdelete
Copy link
Contributor

The tooltip should also ignore members from unresolved assemblies.

Now get an

System.NullReferenceException: 
   at ICSharpCode.ILSpy.TextView.DecompilerTextView.FlowDocumentTooltip..ctor(FlowDocument document)
   at ICSharpCode.ILSpy.TextView.DecompilerTextView.GenerateTooltip(ReferenceSegment segment)
   at ICSharpCode.ILSpy.TextView.DecompilerTextView.TextViewMouseHover(Object sender, MouseEventArgs e)

@siegfriedpammer siegfriedpammer merged commit 62ce7a7 into master Oct 31, 2019
@siegfriedpammer siegfriedpammer deleted the fancy-tooltips branch October 31, 2019 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Areas for improvement UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants