Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Code completion with variables(Have variables in the code completions that the user can tab through)
Code completion with variables [message #725911] Fri, 16 September 2011 07:28 Go to next message
Jos Warmer is currently offline Jos WarmerFriend
Messages: 114
Registered: October 2010
Senior Member
Hi,

I am looking for way to have Xtext code completion include variables that the user can tab through (like other Eclipse code completions do). I see that the template proposals that can be defined for my Xtext language can use ${prefix}() to define such variables. Is there a way to dot his for my own code completion proposals?

I found Dynamic Templates, where it is said that Xtext does no support this. Does Xtext still not support this?

I also found this thread where a workaround is suggested. Is there an example of how to achieve this?

Jos
Re: Code completion with variables [message #728396 is a reply to message #725911] Fri, 23 September 2011 08:00 Go to previous message
Jos Warmer is currently offline Jos WarmerFriend
Messages: 114
Registered: October 2010
Senior Member
I assume that nobody knows the answer Sad, I'll see whether I can find it myself Smile

Jos
Previous Topic:MWE2/Xtend2 and outlets
Next Topic:Jvm types, Xbase and Xtend2
Goto Forum:
  


Current Time: Fri Apr 19 18:48:29 GMT 2024

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

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

Back to the top