Right now the Find Results pane is quite difficult to read for large projects thanks to the fact that tabs and other whitespace are not trimmed from the start of the found lines. What a mess:
It would be trivial and a big improvement to at least trim the leading whitespace, and ideally the results should probably be arranged into a two-column layout (script name / line of code) rather than a simple list.
Visual Studio (at least the later versions, not sure what is in your screenshot) also has a built-in widget that also does a “find all” but formats it properly, and you can click the items to jump to the code.
I’m using Visual Studio 2015 (with update 3) in that screenshot; and that’s the only thing I know which allows you to do a find all. Mind telling me where this is?
Hmm never mind, it appears the one I meant only works for semantic nodes (definitions, variables etc). And you can also click the lines in the output you show anyway, so the benefit is minimal. Getting rid of the leading whitespace and/or having actual columns would be great though, not sure why it’s so crappy even for VS.
Yeah, there’s no need for a toggle… I can’t think of any reason you would want the indentation.
As far as in comments / disabled scripts, I’m not sure that that’s entirely desirable behavior. Especially disabled scripts: Just because the code isn’t currently running doesn’t mean that it’s not important to know about in a find. Dead code is a source of a lot of bugs if it gets used / reenabled later on.