[TxMt] Re: C indent

Kai Brust kbrust at bandsleine.de
Sat Nov 15 02:10:08 UTC 2008


On 15.11.2008, at 01:26, kaja wrote:

> ok, hello there, I used textmate for a while with "found on the  
> internet"
> licence

And you are sure you want to post this on a public mailing list? ;)

>
> first feature request I have is something simmilar to the "Tidy"  
> function in
> HTML bundle, only with C. There is a program called indent, thats on  
> every
> Mac OS X distribution in /usr/bin/indent, that does exactly that.  
> This can
> be used to "tidying up" the C code..


This feature is already available.

Text -> Filter Through Command, "indent" as command, set input to  
"Document", output to "Replace document". Done.

- Kai Brust
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2423 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20081115/54d89af0/attachment.p7s>


More information about the textmate mailing list