-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable preview of csproj files / select default mode #2273
Comments
Hmmm okay I see the point to have this configurable. I can think of some solutions, what do you think about this?
The last one requires no manual configuration so it's probably best.... You will just need to close the PDV preview once and then it won't open by itself anymore. |
The last option sounds like the most intuitive behavior to me. In the edge case of having multiple csproj files open and changing a single of them to another mode, it might feels like an bug. So a complete solution could be an combination of the last two points. Therefore the option 'project file view mode' should consist of 4 entries: "Editor", "Editor and Preview", "Preview" and "Last used mode". The "Last used mode" should probably be the default This should would cover all possible cases of usage i can think of |
#i would save the last opened editor state by file path so you can have individual preferences per file, even different ones for multiple |
Well, how would i set the default mode ? (or change it later on). If you dont want to add an option (which seems the most clean solution to me), please make the last selection the global state - file specific state would not add much help to the current situation when you may have 100+ projects in your mono repo and need to edit a few now and then |
Yeah that's a good point, adding a default mode setting is a good idea, let's do it! |
Yeah, i will try it - but it will probably take me some days as my schedule is pretty tight. Thanks for the offer, i will come back to you if I have any problems :) |
no worries, I look forward to what you cook up :) Hope that helps :) |
The main purpose of opening a csproj file is to manual edit something - the preview mode is not useful most of the time, its just adds an additional click to change the view mode to "Editor". Please make the default mode "Editor" or add an configurable option for this.
Current Behavior
csproj files are always open in "Editor and Preview" mode.
Expected Behavior
csproj files should open in "Editor" mode.
Steps to Reproduce
Environment
JetBrains Rider 2024.2.5
The text was updated successfully, but these errors were encountered: