[TxMt] C indentation prbs

Allan Odgaard throw-away-1 at macromates.com
Fri Jun 8 07:41:44 UTC 2007


On 8. Jun 2007, at 03:55, Pavan Gunupudi wrote:

> The following pieces of code are indented incorrectly by "Indent  
> Selection" - ⌥⌘[ . Any fixes?
> [...]

The indenter is based on a simple rule system described here [1]. I  
don’t see how it can be made to handle comments in all forms in all  
contexts, but probably you could improve is slightly to work with  
your code.


[1] http://macromates.com/textmate/manual/appendix#indentation_rules


More information about the textmate mailing list