Is there a search feature that we can use to search the files in the Source Control View (in the Activity Bar)? Let's say we have tens of files changed and when we go to the Source Control view, how do I find and add a specific file to the Staged state by using the UI?
Asked
Active
Viewed 971 times
1
-
See https://stackoverflow.com/a/73039128/836330 and https://stackoverflow.com/a/73039598/836330 It works the same in a SCM view as it does in the Explorer or a TreeView. – Mark Jul 19 '22 at 15:41
1 Answers
4
Just pick any of files and start to type filename you want to find. Then typed text appear in the right upper corner of SCM View and you can filter out searched files.
See how it looks:
Also this way works in the Explorer view.
Upd. Official description of feature: https://code.visualstudio.com/docs/getstarted/userinterface#_filtering-the-document-tree

Dmitriy Vornychev
- 545
- 3
- 12
-
@MertAkcakaya I'm also use v1.40.1 and feature is working. See more here: https://code.visualstudio.com/docs/getstarted/userinterface#_filtering-the-document-tree – Dmitriy Vornychev Nov 19 '19 at 12:13
-
Oh, I see it doesn't work for me because I'm using a Vim emulator extension. Thank you! – Mert Akcakaya Nov 19 '19 at 12:46