在Visual Studio 2019中重新启用标题栏 [英] Re-enable title bar in Visual Studio 2019

查看:764
本文介绍了在Visual Studio 2019中重新启用标题栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了Visual Studio 2019的预览版,并且标题栏默认为禁用。



这对我不起作用,因为我目前正在开发C#应用程序一次使用多个Visual Studio实例,我喜欢知道哪个窗口与哪个解决方案相关,以及我是否以提升的特权运行。



我发现我可以通过转到选项中的预览功能部分来重新启用标题栏,但这显然不在实际发行版中我已经在网上搜索过,但只找到了对



然后单击确定并重新启动Visual Studio。






如果再次删除设置,则可能仍然可以退回到编辑文件 CurrentSettings.vssettings 。更改:

 < PropertyValue name = IsMinimalVsEnabled> True< / PropertyValue> 

 < PropertyValue name = IsMinimalVsEnabled> False< / PropertyValue> 

%LOCALAPPDATA%\Microsoft\VisualStudio\中查找文件\16.0_xxxxxxxx\设置tingCurrentSettings.vssettings (其中 16.0_xxxxxxxx 将是您已安装的版本)。


I've downloaded the preview version of Visual Studio 2019 and the title bar is disabled by default.

This doesn't work for me as I currently develop C# applications using multiple instances of visual studio at a time, and I like knowing what window relates to which solution, and whether I am running with elevated privileges.

I've found that I can re-enable the title bar by going to the 'Preview Features' section in options, but this will obviously not be in the real release of Visual Studio 2019.

I've searched online, but have only found feature requests to not remove the title bar.

Is there currently any way to re-enable the title bar in VS 2019 (that is not related to the preview features option)?

解决方案

It appears that some time around March 2019 the option to restore the title bar through a setting in the IDE was restored. I can confirm that the option remains in the latest release and preview versions of Visual Studio as of June 2019.

Go to:

Tools > Options > Environment > Preview Features

and untick

"Use compact menu and search bar (requires restart)"

Then click "OK" and restart Visual Studio.


If the setting gets removed again, it may still be possible to fall back to editing the file CurrentSettings.vssettings. Change:

<PropertyValue name="IsMinimalVsEnabled">True</PropertyValue>

to

<PropertyValue name="IsMinimalVsEnabled">False</PropertyValue>

Look for the file in %LOCALAPPDATA%\Microsoft\VisualStudio\16.0_xxxxxxxx\Settings\CurrentSettings.vssettings (where 16.0_xxxxxxxx will be the version you have installed).

这篇关于在Visual Studio 2019中重新启用标题栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆