Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 2055 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Find in Files, when scoped to a subdirectory of the project, searches all files in the on-disk directory. This is unexpected. It would be better to search the files in the *project* subdirectory. This would mean it could handle virtual files (links) correctly, and wouldn't search in build directories, etc.
Perhaps a better option would be to add a "Project directory" scope and default to that instead of the "Disk directory". Though I'm not sure how useful searching in disk directories is, since MD UX only cares about the project, not the filesystem.
Having a command for doing a search of any file type on any directory is useful. I often use it to search directories which don't belong to the project. For example, I sometimes use it to find stuff in the MonoMac source without having to load the solution.
That being said, it would make sense to limit the search to project files when it is done on a subdirectory of the project, that is, when the command is invoked in the solution pad. I think a good option would be to leave the "Look in Directories" option as is, and improve the "Look in Project" option by adding a project subdirectory selector (set to the root of the project by default) and a "Look in project files only" checkbox (set to true by default).
*** Bug 3488 has been marked as a duplicate of this bug. ***
*** Bug 1308 has been marked as a duplicate of this bug. ***
I disagree with comment#0 (because for that option "Current project" filter already exists), and I agree with comment#2.
*** Bug 13931 has been marked as a duplicate of this bug. ***