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.