Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to search for all files in the currently open folder / workspace?

I'm searching for a particular piece of text and using the Search functionality within VS Code (Ctrl+Shift+F). I type some text in the search box and it shows the results only from files that are open already. How do I search for all the files within that workspace / open folder?

(I'm quite new to VS Code so this might be something simple)

like image 658
atreeon Avatar asked Jan 22 '18 08:01

atreeon


People also ask

How do I search my workspace?

Press Ctrl + H , should bring up the search that will include options to search via project, directory, etc.

How do you search for a file in code or workspace?

Click the File Search on the status bar on the bottom of the VSCode IDE. You can also use a keyboard shortcut, Control+Shift+P in Windows or Command+Shift+P on MacOS, to open the command palette and choose Now: Global Search from the list.

How do I search all files in VS Code?

VS Code allows you to quickly search over all files in the currently opened folder. Press Ctrl+Shift+F and enter your search term. Search results are grouped into files containing the search term, with an indication of the hits in each file and its location.

What does Ctrl d do in VS Code?

How do you use Ctrl D in VS Code? Ctrl+D selects the word at the cursor, or the next occurrence of the current selection. Tip: You can also add more cursors with Ctrl+Shift+L, which will add a selection at each occurrence of the current selected text.


1 Answers

Maybe you have the 'Use Exclude Settings And Ingore Files' toggled?

VS Code Global Search Ignore Files

like image 83
Amade Avatar answered Oct 22 '22 13:10

Amade