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
to that
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 )