We need a setting to define the what double clicking project does
Version: 16.0 Preview 2
Steps to reproduce:
- Open a solution with a CPS-based C# project
- Double click to expand the project in Solution Explorer.
Expected results:
The project expands in Solution Explorer.
Actual results:
The project does not expand in Solution Explorer, and instead the project opens.
📝 I was aware of the behavior change but avoided filing this issue until I actually hit it by accident. It happened within 5 minutes of installing Preview 2.
Thanks for the feedback! Part of our rationale for shipping this feature, and the rest of project file editing improvements, in a preview release was to gauge the response from our users before the final release. Please keep us updated if your opinion changes at all as you use the preview more and potentially get used to the new experience.
Out of curiosity do you have the "Allow new files to be opened in the preview tab" turned on, and if so do you find that experience with the project file a positive or negative one?
Out of curiosity do you have the "Allow new files to be opened in the preview tab" turned on, and if so do you find that experience with the project file a positive or negative one?
That was weird but not disruptive. Double clicking was the problematic case, especially in a solution where projects are nested in solution folders (double clicking the folders expands them but then things break when you get to the project).
I believe the Regression label is accurate regardless of the resolution of the issue. This behavior works in Visual Studio 2005, 2008, 2010, 2012, 2013, 2015, 2017, and 2019 Preview 1.1. It broke in Visual Studio 2019 Preview 2, which is a clear behavior regression relative to the preceding 8 versions.
Not sure if we have a label for this, but I think the classification would be "Intentional behavior change", since regression indicates something is unexpected. We mention it in two places:
- .NET Blog post - where we'll plan to post again at RTW
- Release notes
Our aim here is to collect feedback wherever possible - GitHub, Blog comments, Twitter, DevCom - and make a call based on that feedback.
@333fred You had similar feedback, can you +1 above?
Done. I still get frustrated with this several times per week.
I find that this disrupts my flow as well. It'll be good to make sure there's an option to change the behavior at least.
@srivatsn Do you mind following up in a week and see if you feel the same way? I found it disrupted too first few times too. Sounds like it still disrupts Fred's usage though.
I'm still hitting this.
This issue will track the work for adding a setting to change the behavior of double clicking.
Updated the title to reflect what we are tracking
@srivatsn Do you mind following up in a week and see if you feel the same way?
A week later - still end up double-clicking expecting to open the node.
Same here
We're looking at exposing an option that will revert to the previous behavior.
Same for me, annoying change.
A quick status update: Preliminary work has been completed to add an option to disable the double-click behaviour, we are waiting on the UX review process to confirm exactly where the option should go, and as a consequence how it should work.
Internal PR for the functionality: https://devdiv.visualstudio.com/DevDiv/_git/CPS/pullrequest/161623 Internal PR for the option UI (pending review): https://devdiv.visualstudio.com/DevDiv/_git/VS/pullrequest/163306
Is there any update on this request ? we need the option to disable this feature.
Please remove this 'feature', it is absolutely annoying as it interrupts the workflow. For at least 15 years we have been working in such a way that a double click on the project expands it in the Solution Explorer. Now the project file opens for editing. Question: what is probably done more often: extending a project to navigate to the particular files, or manually editing the project file? I clearly think the first one. Please make this at least configurable. The behaviour is absolutely horrible at the moment...
How often do you edit project files manually? Most probably do it once, yes once, in 6 months. But how often do you expand/collapse projects? Hundreds of times a day?
Here's another "great" idea for the next update - why don't you make double clicking on a folder to open it in explorer, some weird mind might find that behavior useful.