Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Auto formater XText
Auto formater XText [message #877340] Sat, 26 May 2012 13:58 Go to next message
Milan Missing name is currently offline Milan Missing nameFriend
Messages: 14
Registered: November 2011
Junior Member
Hi,

does someone have a idea how to implement an auto formater in xtext. Examply when I starts to write an key word in my programm code, the xtext editor knows which keywords beginn with the letter that I type and he gives me the oppurtunity to chose the keywords and then i press only enter to complete.

Thanks in advance!
Re: Auto formater XText [message #877343 is a reply to message #877340] Sat, 26 May 2012 14:05 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13493
Registered: July 2009
Senior Member
Hi,

why do you call this "auto formatter"? you may have a look at content assist auto activation but i doubt it will fit your needs.

~Christian


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Auto formater XText [message #877350 is a reply to message #877343] Sat, 26 May 2012 14:23 Go to previous messageGo to next message
Milan Missing name is currently offline Milan Missing nameFriend
Messages: 14
Registered: November 2011
Junior Member
Hi,

I wanted to say auto completition
Re: Auto formater XText [message #877368 is a reply to message #877350] Sat, 26 May 2012 15:14 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13493
Registered: July 2009
Senior Member
So does content assist autoactivation fit your needs? http://christiandietrich.wordpress.com/2011/09/19/xtext-content-assist-auto-activation/

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:how to enable backtracking
Next Topic:Question concerning grammar
Goto Forum:
  


Current Time: Fri Jul 10 08:07:22 GMT 2020

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

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

Back to the top