Visual Studio:将视图代码设为默认 [英] Visual Studio: Make view code default

查看:140
本文介绍了Visual Studio:将视图代码设为默认的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何方法可以使Visual Studio在默认情况下而不是设计器中显示控件/窗体的代码?我倾向于不喜欢设计师,因为他们会增加膨胀.

Is there any way to make Visual Studio show the code of a control / form by default instead of the designer? I tend not to be a fan of the designers as they add bloat.

推荐答案

右键单击文件,然后选择打开方式..."

Right-click on a file and select "Open With..."

选择"CSharp编辑器",然后单击设置为默认".

Select "CSharp Editor" and then click "Set as Default".

这篇关于Visual Studio:将视图代码设为默认的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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