Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Content Assist not acting as expected
Content Assist not acting as expected [message #1764925] Sat, 03 June 2017 22:08 Go to next message
Francisco Gonçalves is currently offline Francisco GonçalvesFriend
Messages: 5
Registered: May 2017
Junior Member
Hello,

In my grammar I have the need of having keywords with spaces, therefore I solved the warning this need creates by doing the following:
Status:
      value = (NotPlan | 'Plan');
	  
NotPlan:
	'Not' 'Plan';


This works fine, but the content assist shows the following:
https://image.prntscr.com/image/70aa4451ae9d436bb1596926169af4f9.png

That is, displaying an icon before 'Plan' but not before 'Not Plan'.
But on the outline view, the icon is displayed before 'Not Plan'.

Does anyone know how to 'add' this icon for 'Not Plan' on the content assist suggestions?

Also, how do I sort these suggestions? e.g., 'Plan' before 'Not Plan'.

Thanks in advance!
Re: Content Assist not acting as expected [message #1764930 is a reply to message #1764925] Sun, 04 June 2017 06:37 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14669
Registered: July 2009
Senior Member
duplicates https://www.eclipse.org/forums/index.php/t/1086615/

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Deleting first character
Next Topic:Content Assist not displaying icon before keyword
Goto Forum:
  


Current Time: Fri Apr 26 20:25:30 GMT 2024

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

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

Back to the top