[TxMt] [ANN] Beautify JavaScript for TextMate

Oktay Acikalin ok at ryotic.de
Fri Nov 23 14:35:43 UTC 2007


Am 23.11.2007 um 14:54 schrieb Ale Muñoz:

> Hi there,

hi :)

>
>
> I've just posted about my Beautify JavaScript command for TextMate:
>
> <http://bomberstudios.com/2007/11/23/beautify-javascript-for- 
> textmate/>
>
> It uses the Beautify JavaScript tool from <http://elfz.laacz.lv/beautify/ 
> >
>
> Feel free to include it on the JavaScript or JavaScript Tools bundle.
>
> Hope you like it : )

of course :)

but... i've just downloaded the command and tried it out without  
selecting it and it replaced my code with:
Notice: Undefined index:  TM_SELECTED_TEXT in /private/tmp/ 
temp_textmate.gkbzAm on line 533

it also reformatted this

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bild 1.png
Type: image/png
Size: 26930 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20071123/2ad06437/attachment.png>
-------------- next part --------------




to that

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bild 3.png
Type: image/png
Size: 29262 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20071123/2ad06437/attachment-0001.png>
-------------- next part --------------




why is the bracket kind of indented and an additional line before the  
closing bracket? :-S
it also replaced my tab with some spaces.

any hints?


regards,
oktay.

ps tm 1.5.7 ( 1436 )



More information about the textmate mailing list