Feature Request: Add folder name to the recenly file dialog window

HI 

I often use the "Go to File" and "Recent Files" dialogs to navigate between files. One thing I’ve noticed is that in the "Recent Files" dialog, if two files have the same name but are located in different directories, it doesn’t show the folder path — which makes it hard to distinguish between them.
 


In contrast, the "Go to File" dialog does display the directory name alongside the file, making it much easier to tell them apart. 

 

t would be great if the "Recent Files" dialog could show the folder name (or relative path) when file names are the same — similar to how it’s done in "Go to File".

0
Hi,

From your shared first screenshot, I saw in the "Recent Files" dialog, it shows two "modal.blade.php" with a grey text after it showing the full path.
One is from the `resources/views/components/video-capture` and one is from `resources/views/components`.

So it seems it can show the folder name for the same files without any issues.
Could you please add more details or maybe I misunderstood something?
0

Hi Lejia Chen 

You're right — the "Recent Files" dialog does show the full path in gray text. But the issue is with visibility and visual hierarchy.

If you look at the second screenshot I attached, you'll notice how the "Go to File" dialog makes the distinction between files with the same name immediately clear, thanks to the more prominent path display. The folder names stand out and are tightly integrated with the file name, which really helps when quickly navigating between similarly named files.

In contrast, the gray path text in "Recent Files" feels more like an afterthought — it’s subtle and easy to miss at a glance. Every time I hit Ctrl+E, I have to pause an extra second to parse where each file is from. It’s not a dealbreaker, but it definitely slows things down when you’re switching files rapidly during development.

It would be a big usability win if "Recent Files" matched the visual clarity of "Go to File" when it comes to showing file paths — especially for duplicate filenames.

Thanks for looking into it!

0
What theme do you use in PhpStorm currently? From your screenshot, it seems you use a different theme.

That color is configured by `Component.infoForeground` style property in the theme plugin. (see https://plugins.jetbrains.com/docs/intellij/themes-customize.html#defining-named-colors for details).

To use a different color in this case, you need to report this issue to this theme plugin and advise them to use more prominent colors for that style property.
Or you could just modify that theme plugin with this color style changed and use it.
0

Lejia Chen 

Hi it is not a theme issue. here what i am asking for, i will explain again

This is Go to fine window and as i point in screenshot the file with the same name are started with the directory name to easily distinguished between them 

Now if you look an the recent file screenshot
Here it does not start with the directory name but i order to distinguish between file i have to look at the full path and 
its is not immediately clear
 

0
I see. Thanks for the detailed explanation. I get what you want here.

I have created an issue for you here: https://youtrack.jetbrains.com/issue/IJPL-189913
Feel free to vote it for updates.
See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with our issue tracker.
0

请先登录再写评论。