[TxMt] Re: Change java indent?

Allan Odgaard mailinglist at textmate.org
Sat Aug 11 13:49:34 UTC 2012


On Aug 9, 2012, at 3:36 PM, jamiesmithnc <nabble at jamieandamy.com> wrote:

> I have some java code that won't indent properly, and I would like to update the syntax so it correctly identifies the end brace.
> 
> Simplified code looks like this: […] Where/how might I be able to fix this?

I don’t know if your code made it to this list with messed up indent, if not, I think you are asking for too much, as the indent looked pretty weird ;)

If however you are able to determine line-by-line wether indent should be increase or decrease (or increased only for the following line) then there is hope.

The system is documented here: http://manual.macromates.com/en/appendix#indentation_rules



More information about the textmate mailing list