Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Content Assist not acting as expected
Content Assist not acting as expected [message #1764925] Sat, 03 June 2017 18:08 Go to next message
Eclipse UserFriend
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 02:37 Go to previous message
Eclipse UserFriend
duplicates https://www.eclipse.org/forums/index.php/t/1086615/
Previous Topic:Deleting first character
Next Topic:Content Assist not displaying icon before keyword
Goto Forum:
  


Current Time: Sun Jul 06 11:52:23 EDT 2025

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

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

Back to the top