Is there a bundle in Textmate to suppress or filter out comments? I also mean filter out the entire line if there is only a comment on that line. Thanks

I'm running Textmate Version 1.5.10 (1623) on Mac OS X 10.5 if that matters.

link|improve this question

60% accept rate
1  
What do you mean "filter out"? What is a "comment" exactly? As in "everything after #, //, --, rem, %, (etc) or in between /* and */? – Daniel Beck Mar 8 '11 at 21:22
I'm not aware of such a bundle...but 15 seconds and a regular expression is about all that is necessary to do it... – peelman Mar 8 '11 at 21:33
It might help to tell us what language you're using, if you're using a standard commenting style? – Nathaniel Bannister Mar 9 '11 at 0:52
I'm using Ruby and by comment I mean any line that starts with "#". – Chirag Patel Mar 16 '11 at 21:48
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.