Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Auto formater XText
Auto formater XText [message #877340] Sat, 26 May 2012 09:58 Go to next message
Eclipse UserFriend
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 10:05 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Auto formater XText [message #877350 is a reply to message #877343] Sat, 26 May 2012 10:23 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

I wanted to say auto completition
Re: Auto formater XText [message #877368 is a reply to message #877350] Sat, 26 May 2012 11:14 Go to previous message
Eclipse UserFriend
So does content assist autoactivation fit your needs? http://christiandietrich.wordpress.com/2011/09/19/xtext-content-assist-auto-activation/
Previous Topic:how to enable backtracking
Next Topic:Question concerning grammar
Goto Forum:
  


Current Time: Fri Jul 04 08:36:57 EDT 2025

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

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

Back to the top