Community
Participate
Working Groups
Hi, I'm kind of addicted to formatting code. I use the format command a lot, and I'm amazed and pleased for all the configuration possibilities in the Code Formatter page. Never the less, there are times where I want a really specific way to format things. So, I was wondering if there could be some kind of tag ( like a comment tag ), that could create a region of code that would not be formatted using the Format Command. Something like: //BEGIN_NO_FORMAT all the code that will not be formatted with the Format Command //END_NO_FORMAT Thanx for all the help, and the great work Really dig eclipse, thanx guys.
Code formatter is provided by JDT Core.
(In reply to comment #1) > Code formatter is provided by JDT Core. > I know.. sorry if I didn't speak correctly. What I was talking about, was some sort of tag or mecanism that will allow the user to mark regions of code as NOT FORMATEABLE (I don't know if that is the right word). So that when one applies the code formatter the regions marked that way would be left as they were. Thanx again.
*** This bug has been marked as a duplicate of 76435 ***
(In reply to comment #3) > > *** This bug has been marked as a duplicate of 76435 *** > It's not a duplicate of 76435 which only wants to disable a part of the Formatter. It's a duplicate of 120767. Personally I vote for disabling it as a whole rather than only for line splittings. Regards, Alejandro
Bug 120767 has been closed as a duplicate of bug 76435. They are all the same problem which is to provide a mecanism to disable the code formatter for a potion of the code.