visual-studio-2008 - VS2008 在代码 View 而不是设计 View 中打开 .cs 文件

标签 visual-studio-2008 configuration

我正在 VS2008 - c# 中编写 Windows 服务。当我在解决方案资源管理器中双击 .cs 文件时,它默认在设计 View (Windows 窗体设计器)中打开。有没有办法将它配置为默认在代码 View (文本编辑器)中打开,因为这让我发疯。

谢谢

最佳答案

右键单击 .cs 文件并选择“打开方式”。当对话框打开时,选择“CSharp Editor”,然后单击“Set as Default”按钮。所有表单文件现在都将在源代码编辑器中打开。当您想返回时,您可以随时返回并选择“CSharp Form Editor”。

关于visual-studio-2008 - VS2008 在代码 View 而不是设计 View 中打开 .cs 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/413054/

相关文章:

android - 在Android Studio中打开另一个项目后,添加的配置消失

c++ - 如何配置Geany一键编译&执行C++程序?

java - Spring 框架: is possible to create two beans of the same @Component without @Configuration?

sql-server - 如何根据作业名称批量更新 SQL Server 代理作业重试尝试

visual-studio-2008 - 当我的单元测试在 Visual Studio 2008 中运行时,如何查看控制台输出?

visual-studio - 如何在 T4 模板中获得智能感知?

c# - 使用 Flag 属性时的枚举问题

c# - 当前内容中不存在名称 '###'(每个页面上都有这些)

.net - Apache log4net : How to set CC and BCC addresses to SmtpAppender from config file

visual-studio-2008 - Visual Studio 2008 SP1 “Package Load Failure” 错误