visual-studio 第一次执行时设置后如何更改编程布局?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3334645/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-22 12:15:07  来源:igfitidea点击:

How to change programming layout after setting it at the first execution?

c#c++visual-studiovisual-studio-2008layout

提问by tunnuz

When starting Visual Studio 2008 you are asked to choose a programming layout (preset?), which can be C++ or C# (or generic?). Few months ago I choose the C++ preset because I was working on a C++ project, while now I'm working to a C# project. Is there a way to reset the Visual Studio layout to C#?

启动 Visual Studio 2008 时,系统会要求您选择编程布局(预设?),可以是 C++ 或 C#(或通用?)。几个月前,我选择了 C++ 预设,因为我正在处理 C++ 项目,而现在我正在处理 C# 项目。有没有办法将 Visual Studio 布局重置为 C#?

回答by Dariusz Wo?niak

Go to:

去:

  1. Tools > Import and Export Settings
  2. Import selected environment settings
  3. Yes, save my current settings(if you want to backup current settings; No, if you don't want to)
  4. Choose one of the following under Default Settings:

    • General
    • JavaScript
    • Visual Basic
    • Visual C#
    • Visual C++
    • Web Development
    • Web Development (Code Only)
  1. 工具 > 导入和导出设置
  2. 导入选定的环境设置
  3. 是的,保存我的当前设置(如果您想备份当前设置;,如果您不想)
  4. Default Settings下选择以下选项之一

    • 一般的
    • JavaScript
    • 视觉基础
    • 可视化C#
    • 可视化 C++
    • Web开发
    • Web 开发(仅代码)

Notes

笔记

  • Alternatively, in step 2, you may choose Reset all settings.
  • You may also use /ResetSettingscommand line switch.
  • 或者,在步骤 2 中,您可以选择重置所有设置
  • 您也可以使用/ResetSettings命令行开关。

回答by Metalogic

For Visual Studio 2015 it's the same steps described by @Dariusz Wo?niak but you can select "Reset all settings" instead of "Import" on step 2.

对于 Visual Studio 2015,它与@Dariusz Wo?niak 描述的步骤相同,但您可以在步骤 2 中选择“重置所有设置”而不是“导入”。