Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » document flyout missing on imports
document flyout missing on imports [message #1021854] Wed, 20 March 2013 20:00 Go to next message
Steve Kallestad is currently offline Steve KallestadFriend
Messages: 62
Registered: March 2013
Member
I'm a little confused as to how to troubleshoot this issue.

When I'm not using imports, and I auto-complete (ctrl-space), I get a flyout with documentation built from comments just above the cross-reference.

I'm talking about the yellow-ish box to the right of the auto-complete suggestion as displayed in this image:

http://i.imgur.com/n2OB4BI.png

When I use an import, the flyout does not appear.

http://i.imgur.com/iYUjbY4.png

However, if I hover over the element after choosing it, I do get the doc-box.

I'd prefer that imports worked the same as locally defined elements. That way, end users can quickly filter through suggestions and see a little more information about what each suggestion does.

Is the behavior I'm experiencing indicative of a problem with my eclipse setup, my grammar configuration, or do I just need to override the default behavior?

If I need to override the default behavior, what class/method am I looking for?

Edit:
I do see the following log message in my eclipse console repeatedly. I haven't gotten to tracking it down just yet, but I have noticed this before and it does appear whenn the working (non-import) file as well as the file that uses the import:
!ENTRY org.eclipse.ui 4 4 2013-03-20 13:10:41.656
!MESSAGE Conflicting handlers for org.eclipse.ui.edit.text.contentAssist.proposals: {ActionHandler(org.eclipse.ui.texteditor.ContentAssistAction@20fb055a)} vs {org.eclipse.xtext.ui.editor.handler.ContentAssistHandler}


[Updated on: Wed, 20 March 2013 20:14]

Report message to a moderator

Re: document flyout missing on imports [message #1021869 is a reply to message #1021854] Wed, 20 March 2013 20:44 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi this is a bug / missing feature https://bugs.eclipse.org/bugs/show_bug.cgi?id=356185 that is fixed in Xtext 2.4.0 (released today)

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: document flyout missing on imports [message #1021899 is a reply to message #1021869] Wed, 20 March 2013 22:30 Go to previous message
Steve Kallestad is currently offline Steve KallestadFriend
Messages: 62
Registered: March 2013
Member
excellent! a new toy! Smile

EDIT: I'll save the further questions (hopefully) until I can find a way to contribute around here. You've done a fantastic job with this Christian (and I'm sure others who's names I don't know). I'm quite impressed with this project, and I don't want it to feel like I'm just leeching off of your free advice.

[Updated on: Wed, 20 March 2013 22:39]

Report message to a moderator

Previous Topic:Xbase and logical containers
Next Topic:Combining existing Model and own Grammar
Goto Forum:
  


Current Time: Fri Apr 19 14:59:26 GMT 2024

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

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

Back to the top