Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
824 views
in Technique[技术] by (71.8m points)

ide - How to disable Edit Project when double click on Visual Studio 2019?

On Visual Studio 2019

When I double click or even focus on project, it open Edit project

For previous version, It just only expand the project structure

How to disable this feature ?

question from:https://stackoverflow.com/questions/55565994/how-to-disable-edit-project-when-double-click-on-visual-studio-2019

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Visual Studio 2019 (version 16.0) introduced the ability to double click on SDK-style projects in Solution Explorer and having them open in the editor.

Based on feedback, an option has been added in Visual Studio 16.1 (currently in preview) that restores the previous behaviour.

enter image description here

If you prefer the old behaviour, uncheck this setting.

EDITORIAL: SDK-style projects are very readable and easy to edit by hand. If you use SDK projects you may start to think of project files as regular source file and that double clicking to edit makes sense. Of course you may not, but it's worth considering.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...