When using TM-2 with a C source file, if I type an open brace, I get a matching pair of braces. If I then press enter, I get an empty line above the closing brace and the cursor is properly indented.
However if I do the same with a Java source file, there is no blank line above the closing brace and the cursor is sitting in front of the closing brace.
Is there some setting or tweak to the java language grammer that is necessary to achieve this behavior? It works correctly in TM-1.
Thanks, Curt
On 27/02/2012, at 02.49, Curt Sellmer wrote:
[…] I type an open brace […] then press enter, I get an empty line above the closing brace and the cursor is properly indented […] with a Java source file, there is no blank line above the closing brace and the cursor is sitting in front of the closing brace.
Is there some setting or tweak to the java language grammer that is necessary to achieve this behavior? […]
From http://wiki.macromates.com/FAQ/TextMate2 it points to http://lists.macromates.com/textmate/2012-January/034108.html