Hi:
Does SE have a feature where I can search a file (or multiple files), and exclude results from the search that are inside comments ?
For example, in a C++ file, all text inside of a comment block /* */ or //, would be excluded from the search and the search results.
I know cross-references can do this for variables/functions/methods/classnames/typedefs.
But I was thinking about keywords, such as looking for all occurrences of the keyword 'native' that are in live code and not in a comment.
I also think it would be a good alternative to using cross-reference search.
The editor is already performing syntax highlighting, showing comments in a different color, so I would think it would be relatively simple to do this.
Rob