Hi there,
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 : )
On Nov 23, 2007, at 8:54 AM, Ale Muñoz wrote:
Hi there,
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 : )
-- Ale Muñoz http://sofanaranja.com http://bomberstudios.com
w00t!
Should it also be used for all ECMAscript based languages like Actionscript?
—Thomas Aylott – subtleGradient—
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 )
Am 23.11.2007 um 15:35 schrieb Oktay Acikalin:
[…]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 […] any hints?
argh - answered too fast :) seems to be a problem on the orginating site... sorry :)
regards, oktay.
I've just uploaded a fix for the command, that seemed to be broken when magic_quotes is active.
Try downloading it again : )
On Nov 23, 2007 3:45 PM, Oktay Acikalin ok@ryotic.de wrote:
Am 23.11.2007 um 15:35 schrieb Oktay Acikalin:
[…]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 […] any hints?
argh - answered too fast :) seems to be a problem on the orginating site... sorry :)
regards, oktay.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
breaks no more - thanks :)
Am 23.11.2007 um 16:39 schrieb Ale Muñoz:
I've just uploaded a fix for the command, that seemed to be broken when magic_quotes is active.
Try downloading it again : )
On Nov 23, 2007 3:45 PM, Oktay Acikalin ok@ryotic.de wrote:
Am 23.11.2007 um 15:35 schrieb Oktay Acikalin:
[…]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 […] any hints?
argh - answered too fast :) seems to be a problem on the orginating site... sorry :)
On Nov 23, 2007, at 7:54 AM, Ale Muñoz wrote:
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.
Just committed it to the Javascript bundle. Renamed it to better match other commands that do similar things, and changed the shortcut to control-Q for the same reason. Thanks for porting it. :)
It's been a pleasure :)
Thanks for including it on the bundle.
On 24/11/2007, Michael Sheets bundles@textmate.org wrote:
On Nov 23, 2007, at 7:54 AM, Ale Muñoz wrote:
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.
Just committed it to the Javascript bundle. Renamed it to better match other commands that do similar things, and changed the shortcut to control-Q for the same reason. Thanks for porting it. :)
-- Michael Sheets TextMate Bundles Moderator – bundles@textmate.org