Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Quickfix Tooltip Description Formatting
Quickfix Tooltip Description Formatting [message #1751890] Mon, 16 January 2017 14:35 Go to next message
Robert Bill is currently offline Robert BillFriend
Messages: 4
Registered: March 2016
Junior Member
Hello everyone!

I am currently developing quickfixes for some Xtext language and would like to beautify the displayed quickfix information by some formatting.

In particular, I would like to highlight several parts of the tooltip in bold and/or with color. Is this possible and if yes, what would I have to change to display such a tooltip?

best regards

[Updated on: Mon, 16 January 2017 14:36]

Report message to a moderator

Re: Quickfix Tooltip Description Formatting [message #1751891 is a reply to message #1751890] Mon, 16 January 2017 14:51 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 11356
Registered: July 2009
Senior Member
i dont know a way to do this out of the box. maybe you can style the styledtext inside

org.eclipse.xtext.ui.editor.hover.AnnotationWithQuickFixesHover.AnnotationInformationControl

unfortunately this code is not really extenable/customizable

=> you mean need to do large copy&paste


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Previous Topic:XText hook for model transformation?
Next Topic:RPGLE Grammar - How to declare Keywords? (Xtext 2.10)
Goto Forum:
  


Current Time: Fri Nov 17 21:31:46 GMT 2017

Powered by FUDForum. Page generated in 0.01311 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software