I added this to the PHP bundle "Misc" preferences:
shellVariables = ( { name = 'TM_COMMENT_START'; value = '// '; }, { name = 'TM_COMMENT_END'; value = ''; }, { name = 'TM_COMMENT_MODE'; value = 'line'; }, );
However, now I end up with:
// function test() // { // // // echo 'blah'; // // $foo = 'bar'; // }
Any way to fix that?
Eric Coleman
On Mar 4, 2006, at 1:16 AM, Eric Coleman wrote:
I didn't know about command + / till the other day, however i've run into a minor issue.
If I have source like the following:
function do_me() { /* this was some old shit */ /* $var = blah */ echo 'hello'; }
the command + / shortcut will turn it into:
/*function do_me() { /* this was some old shit */ /* $var = blah */ echo 'hello'; }*/
which is deffinitly a no go. how could I change it so that it would result in:
// function do_me() // { // /* this was some old shit */ // /* // $var = blah // */ // // echo 'hello'; // }
Thanks, Eric Coleman
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