Closed sharwell closed 5 years ago
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:
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.
This option is on the cards for 16.1.
This is a reminder to be respectful on this forum, we are all humans here. Please keep the comments constructive.
I'm glad to hear that. Thank you for this information.
Like I mentioned in https://github.com/dotnet/project-system/issues/1224#issuecomment-477967677, I run into this 'issue' several times per hour.
Thanks for adding this feature... Its hideous and thoroughly annoying ;-)
Internal PRs have been merged, option will appear in 16.1.
Any estimated release date for 16.1 already? :) This is indeed a very annoying "feature"
@effyteva There is no estimated release date for 16.1 at this time.
Any way to disable this workflow killer without having to wait for 16.1? Perhaps using an extension?
I honestly don't understand why you wait until 16.1 to make this new behaviour optional, it should have been optional from the get-go. What were you hoping to achieve by asking people to try and get used to it, what do you have to gain from it?
The change doesn't even make sense to me. Expanding/collapsing a project node is an action I frequently perform, especially combined with the 'Collapse All' button, while editing a project file is rarely done.
@davkean with all due respect, it's my first day using VS 2019 and I already wanted to smash my mouse on the desk because of this.
Iām staying with 2017 because of this...
To be a contrary opinion here, I love the new feature! I never double click on Solution Explorer items to expand/collapse them. I always use the arrows next to the item. Being able to easily get to the project file is wonderful.
Considering how important it is now to be able to edit project files in the new project system, I think it makes sense for this to be the default behavior.
Iām staying with 2017 because of this...
After a day of using VS2019, I have to say, it works a bit slower on my ~80 projects solution, and this "feature" is really making me consider switching back. I'm always switching ASAP to newer versions, but this is really inconvenient...
I'm against this change as well and would like to know what was the rationale for making this change non-optional. As it's been mentioned above, developers much more often open projects rather than edit them. It is slowing me down as well because it is harder to hover the cursor over a collapse/expand caret button instead of simply double clicking the project.
Unless I'm forgetting some different behavior in an earlier version, I've been double-clicking these things for over 15 years now. That's a hard behavior to unlearn.
This change has been very frustrating for me. I'm happy for the ability to Edit the project be on by default, but please make it a setting to revert to "legacy behaviour" to allow us to stay in dinosaur land.
This change has been very frustrating for me. I'm happy for the ability to Edit the project be on by default, but please make it a setting to revert to "legacy behaviour" to allow us to stay in dinosaur land.
I wouldn't say legacy behaviour and dinosaur land. As far as I remember editing csproj required unloading the project and it was annoying. Being able to edit / view csproj contents without unloading it is great, but I'd rather keep that feature under the context menu (right click) than change how double-click works, as it worked that way for ages.
I downloaded the 16.1 version and i can't locate the option that turn this option off.
@Tamer-Gamal You probably downloaded 16.0.1 which does not have this functionality. 16.1 is not available yet.
@Tamer-Gamal You probably downloaded 16.0.1 which does not have this functionality. 16.1 is not available yet.
it says 16.1.0,check the attached image
@Tamer-Gamal You probably downloaded 16.0.1 which does not have this functionality. 16.1 is not available yet.
it says 16.1.0,check the attached image
It won't be available until a future preview of 16.1
Visual Studio 2019 version 16.1 Preview 1 has been released, has the option to double-click the custom behavior of the project file?
Visual Studio 2019 16.1 Preview 2 finally allows you to change this behavior:
Tools => Options => Projects and Solutions => General => Uncheck "Open SDK-style project files with double-click or the Enter key"
Guess what? I have adapted to this. š
I guess this will be coming soon. It is an odd behavior. I think a Ctrl + mouse double click would be great for opening up the project source file and the old default behavor leave as is - i.e. mouse double click.
The option to control this in Visual Studio 16.1 (which is currently in preview):
To disable the new behaviour, uncheck this box.
Visual Studio 2019 16.0.3 doesn't exist the "Open SDK-style project files with double-click or the Enter key" option
@jrt324 ..... it never appeared in the 16.0 releases so how could it disappear?!
Just installed the release version of VS2019 16.1, can confirm that the option is there and works as advertised.
By the way, the project file still opens in the editor, just like a code file does when you single-click on it, but the project itself also expands/closes. I really like this behavior, it allows for quick editing of the project file while also preserving the navigation experience.
I've also tested this setting and it indeed expands the project, but still opens the project in the preview pane, which feels weird. I really want to only expand the project. How can I disable opening the project in the preview pane ?
I don't really mind that the project opens in the preview tab, the most important was to re-enable the previous expand/collapse behaviour. Note that Alt+click to avoid the preview works here too, just Alt+double click on the project.
Version: 16.0 Preview 2
Steps to reproduce:
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.