Rider.Net open file dialog on windows - how can I configure it to remember the last location?

The open file dialog in Rider.Net always opens to %HOME% folder. I use windows server 2016.

Is there a setting that makes it  go to the last location, i.e. the folder I where I opened the most recent file. 

I am using a .net solution and I also have a folder with JavaScript files outside that folder and it is a pain in the butt to open files in that folder because I always have to start my navigation the JavaScript files from the %HOME% folder. And, yes, I have “favorite” folders set up in windows, but it is still very annoying.

Rider.Net also doesn't have a list of most recent files (not projects/solutions) in the File Menu. 

Thanks

1
7 comments

Hello Bogc, 

Apologies for the late reply - this ticket slipped over our radar somehow. 

By “open file dialog”, you mean File | Open menu, right? I have tried this on my end. I can confirm that Rider will open the last location by default without any additional configuration. Could you please verify if this issue is still present on the latest Rider?

Thanks,

Tom

 

 

0

Hi,

There is an icon on the toolbar, open … (Main Toolbar → General Actions → Open), when I click this button it always goes to my %home% folder. That's what I tried.

I tried File → Open → Open Ctrl+Shift+O and indeed it remembers the last location.

It seems that the 2 actions are different. I think I am good for now, though, it's a bit weird that the first action is different than the other one.

 

 

0

Hello Bogc, 

Glad to know that File | Open menu works for you. I've tried adding this action to the main toolbar, and it works well too. I suggest you re-add the “Open” action and ensure the following is selected:

Thanks,

Tom

0

Hi - I removed the other action and I added this one instead and it works as expected, it remembers the last location.

I still think having 2 distinct Open actions is confusing, and why there are 2 Open actions in the first place?

Thanks

0

Hello Bogc, 

Since I can't reproduce this issue on my end, could you share how the original “open” action was added in the main toolbar?

Thanks,

Tom

0

Yes, it was added through: right-clicked on the top toolbar, I clicked: Add Action to Main Toolbar and I selected the open/save actions. Right now they are available.

But if you look at the screenshot with the black background, Customize Main Toolbar, in my message above, you can see that it was the action under: Main Toolbar → Left → General Actions → Open... .

I hope this helps.

Also keep in mind that the action was added to the toolbar several versions ago (I don't recall when exactly) and it persisted across multiple Rider updates. 

0

Hi Bogs, Thank you for your update.
I was able to reproduce the issue on my side using the following steps:
1. Install Rider 2024.3.9 and add the "Open File" button to the Main Toolbar;
2. In Settings | Advanced Settings enable the 'Use native file chooser dialog on Windows/macOS' option;
3. Try to open a project in any directory (non-home directory);
4. After opening the project, click on the Open File button in the Main Toolbar — Rider will show the home user folder instead of the previously opened directory. BUT: at the same time, it works correctly if you try to open a project from File | Open.
5. Close Rider 2024.3.9 and update it to a new version (e.g. 2025.1+), then import to it settings from Rider 2024.3.9;
6. In Rider 2025.3.2 with imported settings, try to use the Open File button in the Main Toolbar: Rider will show the home user folder.
7. Try to open a project from File | Open: Rider will show the previously opened directory.

This issue should be related to the known issue: IJPL-57190 Windows native file chooser does not remember the last directory opened
I have added this information to this ticket for our developers.
Thank you for your efforts and cooperation!

0

Please sign in to leave a comment.