如何触发“标记验证”视觉 Web 开发人员 2010
打开错误列表后,MS Visual Web Developer 2010 可以自动在面板中报告警告/错误。
但是,我想知道如何手动触发此验证,而不是等待不可预测的时间直到应用程序开始检查。
After turning on the Error List, the MS Visual Web Developer 2010 can report warning/error in the panel automatically.
However, I would like to know what I can do to trigger this validation manually rather than wait for a unpredictable period until the application starts to check.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您转到“工具”>菜单上的设置并勾选
专家设置
,菜单现在将有更多选项,其中之一可以在“编辑”>“专家设置”中找到。高级,验证文档
应该提供您想要的内容。如果您想为其分配键盘快捷键,请转到“工具”>“键盘快捷键”。菜单上的选项,勾选“选项”窗口左下角的
显示所有设置
,然后通过左侧的树导航到“环境”>“环境”。键盘。显示键盘设置后,在“显示包含的命令”文本框中输入Edit.ValidateDocument
,将“使用新快捷方式”下拉菜单更改为HTML 编辑器设计视图< /code> 然后单击“按快捷键”并输入您要使用的快捷键。我建议使用
Shift-Alt-V
,因为 Visual Web Developer 2010 中默认情况下不会分配它。最后单击“分配”,然后单击“确定”If you go to Tools > Settings on the menu and tick
Expert Settings
, the menus will now have a lot more options, one of which can be found in Edit > Advanced,Validate Document
which should provide what you want.If you want to assign this a keyboard shortcut, go to Tools > Options on the menu, tick
Show all Settings
in the bottom left of the Options window, then navigate through the tree on the left to Environment > Keyboard. Once you've got the Keyboard Settings showing, typeEdit.ValidateDocument
into the "Show commands containing" textbox, change the "Use new shortcut in" drop-down toHTML Editor Design View
and then click in "Press shortcut keys" and enter the shortcut key you wish to use. I suggestShift-Alt-V
as it's not assigned by default in Visual Web Developer 2010. Finally click "Assign" and then "OK"