I know it's a stupid question but I would like to know if this is possible doing some configurations.
The VSCode by default show the folders first
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.
In Visual Studio 2022 and later, you can set Visual Studio to always keep results. Go to Tools > Options > General > Find and Replace, and select the checkbox for Keep search results by default.
Yes you can do that. Just add the following entry to your settings.json
:
"explorer.sortOrder": "filesFirst"
An overview of all possible settings can be found here.
If some comes across this, like me looking for the other way around. Having folders first and files second. User "explorer.sortOrder": "foldersFirst"
in your settings.json
.
File
> Preferences
> Settings
> Search sort order
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With