I think it would be useful for the Find in the IDE to optionally exclude commented out lines in its results. If one selects Exclude comments, any line starting with ’ or // would not show up.
Anyone else think this would be useful? Or, is the feature already there and I don’t know about it?
I agree. I also sometimes look for things in comments. The idea is that this is something you could turn on or off as needed. In fact, if you knew something was in a comment, perhaps one could show only comment lines (line starts with ’ or //).
Personally I consider a response like that a “cop-out”… Tell us … “No, we won’t implement that, sorry”, or “Its under consideration”, or “Wow, why did we leave that out in the beginning anyways”…
Instead the response is a “band-aid”
If “we” didn’t think it was a beneficial addition (duh almost every other language in existance has /* */), we probably would not have brought it up (sorry didn’t mean to hijack the intent of this thread)
depends on your definition of pretty. I like it. But then again I am not the norm these days. I came from the old school UN*X days where you did RegEx in everything (grep/perl/awk/sed/etc) constantly…
This wouldn’t work as expected since it would exclude any line where a single “/” preceded the search term. Why? Because tokens within a character class are considered individually, so there is no difference between any of these:
ArchiveXojo is free database tool that acts as a repository of your code. One feature of that database is that you can search your code for strings and exclude comments from the search