Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to disable formatter?
How to disable formatter? [message #1698832] Thu, 18 June 2015 09:16 Go to next message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 431
Registered: July 2009
Location: Gothenburg
Senior Member
Hi!

I'd like to disable the formatter for my language, until I get it to work properly. I couldn't find a way to do that, is there any?

edit: excluding the formatter fragment didn't help.

best regards,
Vlad

[Updated on: Thu, 18 June 2015 09:21]

Report message to a moderator

Re: How to disable formatter? [message #1700242 is a reply to message #1698832] Wed, 01 July 2015 07:27 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Vlad,

the simplest thing would be to bind a null impl of the formatter.

Best,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Find help at http://xtext.itemis.com or xtext(@)itemis.com
Blog: zarnekow.blogspot.com
Twitter: @szarnekow
Google+: https://www.google.com/+SebastianZarnekow
Re: How to disable formatter? [message #1700243 is a reply to message #1700242] Wed, 01 July 2015 07:36 Go to previous message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 431
Registered: July 2009
Location: Gothenburg
Senior Member
Thanks Sebastian,

I had truied to bind a null implementation, but I think I did something wrong because it had no effect.

The solution I ended up with was to just override the key binding. The menu is still there, but my main problem was that we use a lot the Ctrl-Shift-D key and it's very easy to press Ctrl-Shift-F instead.

regards,
Vlad
Previous Topic:Migrating from formatting to formatting2
Next Topic:How to customizing single line comment
Goto Forum:
  


Current Time: Tue Apr 23 07:25:15 GMT 2024

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

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

Back to the top