I'm using VS Code 1.25.1 on Win10. When I open the Explorer icon and look at a list of files in a folder, it shows the files listed alphabetically. I want to sort them by date modified, but I don't see any options to sort by other fields. Are there keyboard shortcuts? Any other options? Thanks.
One option to begin sorting files and folders is to right-click or press-and-hold on a free area inside the folder to open a contextual menu. Then, hover or tap on Sort by to reveal the four main sorting options for that view template.
Select my lines of text. Press F9. Keep your eyes on the code, you'll see a change. And now it's in alphabetical order.
To change the order of a file or folder, click the dots on to the left of the folder or file's name that you're interested in. Dragging while clicking will move the file or folder up and down.
explorer.sortOrder
.modified
).A more user friendly approach can be:
Open the workspace settings:
Ctrl+Shift+p
And open: Preferences: Open Workspace Settings
.
Browse to Features > Explorer using the sidebar.
Use the Sort Order
option to customise sorting.
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