[TxMt] [TM2]: Doxygen / JavaDoc comment

Emmanuel Blot eblot.ml at gmail.com
Fri Nov 30 14:17:02 UTC 2012


Hi,

I was wondering if someone would have already written a valid
configuration to "fix" TM2 so that it does not mess up source code and
comment indentation (C, C++) when Doxygen-style comments are used to
comment the code, i.e.


/**
 * Some doc
 * @param[in] …
 */
void foo(void)…

results in:

/**
 * Some doc
    * @param[in] …
*/
    void foo(void)…

Alternatively, is there an easy way to tell TM2 not to re-indent a
line automatically, ie. let TM2 to indent a new line once, while
preventing it from re-indenting forever whenever a new character is
typed on an already-fixed line.

Thanks,
Manu


More information about the textmate mailing list