Feature Request: Sort by type in file explorer

I frequently find myself with large R projects with files such as:

A.Rmd
a.rds
a.sql
A.HTML
B.Rmd
b.rds
B.HTML
C.Rmd
c_raw.csv
c.rds
C.HTML

etc.

When looking for a specific file in such a Project, I have the option to sort the File Explorer by Name, Size, and Modified Date. However, often it seems to be that sorting/grouping by file type, as one can in Windows Explorer, would be most helpful to find what I am looking for. It would be great to have this as an option!

3 Likes

If you don't already know about it, the 'fuzzy finder' (invoked by pressing Ctrl + .) is very helpful for these kinds of situations. It allows you to navigate to files by name, or by typing substrings that match the name. The files are then opened in the IDE for editing.

6 Likes

Thank you -- even better than what I'd hoped for!

I think you might already have that. Next to the "Name" column, there is a column heading type box without a name, it is directly above the file format icons, and the "one step up" green arrow. Click that and your files will be sorted by type. :slight_smile:

5 Likes

Well, this has been thoroughly embarrassing but incredibly helpful. Thank you!! Classic RStudio always being one (thousand) step ahead of me.

2 Likes