代码编辑器视图而不是设计器 [英] Code editor view instead of designer
本文介绍了代码编辑器视图而不是设计器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有一个自定义属性可以应用于一个类,这会导致Visual Studio始终在代码视图中而不是设计器中打开它。
我忘记了又是什么,在Google上找到它是个棘手的事情。
有人能提醒我它是什么吗?
解决方案
没有什么比这更棘手了......
右键单击要打开的文件,选择打开方式...
,选择你的偏好,点击设为默认值
- 你做完了......
别担心,我发现了 - 事实上我的消息历史很深。
[System.ComponentModel.DesignerCategory(Code)]
There's a custom attribute which you can apply to a class which causes Visual Studio to always open it up in code view rather than designer.
I've forgotten what it is yet again, and its a tricky thing to find on Google.
Can someone remind me what it is?
解决方案
Nothing tricky about it...
Right click the file you want to open, selectOpen With...
, choose your preference, hitSet as Default
- you done...
Don't worry, I've found it - deep in my history of messages in fact.
[System.ComponentModel.DesignerCategory("Code")]
这篇关于代码编辑器视图而不是设计器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文