Repository navigation
Closed
Labels
feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insiderson-release-notesIssue/pull request mentioned in release noteson-testplansearchSearch widget and operation issues
Milestone
Description
Hi guys,
I'd really like to have an option to see the search results in a tree view. When working on big JS codebases I find it difficult to see the relevant findings in this flattened list, although in many cases when the search result is small, this flattened list is easier for the eye.
BTW this search panel could be a nice extension point as well, not sure what is an easier thing to do.
I'll try to contribute sometime, but I hope someone would take this ticket soon :)
Thanks guys,
Thomas
PS.: VSCode is awesome, you are awesome, thank you.
Reacted by Dakara, Jakub Synowiec, Jeff Lewis, Jacek Karczmarczyk, Tung Dang, Matt Peloquin, Jānis Elmeris, Andrey Mikhaylov (lolmaus), Patryk Zawadzki, Marcelo de Oliveira and 264 more
Reacted by João Marcos, Alexis, Vish, Christian Romeyke, Omar Tawfik, welcometochristown, Seiichi Arai and Seb
Reacted by João Marcos, Tigran, Alexis, Vish, Christian Romeyke, Leonardo Diehl, Ken McKaba, rio (리오), welcometochristown, ZachTylerPruitt and 2 more
Reacted by nmoreaud, Thomas Willheim, mhanuszh, João Marcos, Tigran, Olexander Galaydyuk, Pankaj Lagu, Vish, Christian Romeyke, Omar Tawfik and 1 more
Reacted by MarCus86, Tigran, João Marcos, Hamdi Ozbayburtlu, Matt Arceri, Christian Romeyke, Omar Tawfik and welcometochristown
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insiderson-release-notesIssue/pull request mentioned in release noteson-testplansearchSearch widget and operation issues
Activity
d-akara commentedon Feb 8, 2017
I think there are many different interesting ways the results could be represented that are useful to different people based on context of their project. I also struggle a bit on large codebases.
I recently posted some proposals in #19939
Possibly some of these ideas could be consolidated, or an extension point made so that alternative views could be provided.
Tyriar commentedon Feb 9, 2017
I think filtering the explorer would cover this #10026
/cc roblourens since it's related to search though.
ThomasJuhasz commentedon Feb 16, 2017
Daniel Imms (@Tyriar) I really dont think the two are the same. The feature you are suggesting is in visual studio and I cant describe how bad I hated it and it wasn't just me. It's nice to have your explorer untouched while searching in another tab. I think the duplicate tag should be taken off, it's not the same.
Tyriar commentedon Feb 16, 2017
Ping roblourens
jsynowiec commentedon Jun 14, 2017
Daniel Imms (@Tyriar) anything new regarding this FR? Doing an extensive refactor over a large codebase is really inconvenient without an ability to group results by folder, display a tree or any other additional way of further narrowing down search results.
roblourens commentedon Jun 14, 2017
We are thinking about how search results will look in a multi-folder situation (#396) and how that will affect the UX, so we probably won't do anything here until then.
seanpoulter commentedon Mar 16, 2018
Let me know if I can help roblourens.
oliviermartin commentedon Aug 14, 2018
I really hope this feature request is still considered. I have been using Eclipse for many years. I tried Visual Studio Code today. And I quite like it and I was considering switching to it!
... until I made a search in files of my large project. Impossible to extract a useful results from my search. Using
includeandexcludefilter would not help me.And I came back to eclipse. I am following this issue and would give a try again when it would be solved.
davidwindell commentedon Sep 19, 2018
Same here, just came to see if there was a way to match Netbeans' behaviour below that allows toggling a file tree:
57 remaining items
trekhleb commentedon Aug 18, 2022
I've played around trying to implement a Search Tree extension here trekhleb/vscode-search-tree.
However, there are some challenges like:
So the code of the extension is pretty raw, not tested, not optimized, and not ready for publishing yet. But here is a quick demo of what I've ended up with so far:
I'm pausing the work on the extension for now, since the current issue has been picked up for consideration in #157454. Hopefully, the Tree View will be implemented in the VSCode core. But meanwhile, feel free to check the source code I've got and extend it if you want.
grumBit commentedon Sep 23, 2022
Fantastic Andrea Mah (@andreamah) ! Thank you for adding that in #161022 .
sibitu commentedon Sep 23, 2022
Thank you :D