禁用客户端属性的 Visual Studio 2010 Html 格式选项
最近我注意到我的 vs2010 会自动小写我的 html 属性。这与 dojo 的使用不太相配,因为 onclick
!= onClick
和 dojo.query([Attribute])
!= dojo.query([属性])
。
现在我之前已经愚弄了 VS 选项,直接进入“工具”>“选项>文本编辑器> HTML>格式化以将客户端属性设置为输入的内容。嗯,这两个选项都被禁用了。
我已尽我所能禁用所有扩展和插件,但它仍然不受影响。搜索没有返回任何有用的内容。
是什么导致这些下拉菜单被禁用?
Recently I noticed that my vs2010 was auto lower casing my html attributes. This does not go very well with the use of dojo since onclick
!= onClick
and dojo.query([Attribute])
!= dojo.query([attribute])
.
Now I've fooled with the VS options before and went straight to Tools > Options > Text Editor > HTML > Formatting to set client attributes to as entered. Well these two options are disabled.
I've disabled all my extensions and addins as best as I know how and it is still unaffected. Searches are not returning anything helpful.
What is causing these drop downs to disable?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您转到“工具”|“选项”|“文本编辑器”|HTML|“验证”,您的目标标记可能会设置为 XHTML 或某些您别无选择的标记。将其设置为 HTML5(不是 XML)之类的内容,这些选项将再次亮起。
If you go to Tools|Options|Text Editor|HTML|Validation, your Target markup is probably set to XHTML or some markup where you have no choice. Set it to something like HTML5 (not XML) and those options will light up again.