如何触发“标记验证”视觉 Web 开发人员 2010

发布于 2024-09-13 12:35:57 字数 109 浏览 2 评论 0原文

打开错误列表后,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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

寻找我们的幸福 2024-09-20 12:35:57

如果您转到“工具”>菜单上的设置并勾选专家设置,菜单现在将有更多选项,其中之一可以在“编辑”>“专家设置”中找到。高级,验证文档 应该提供您想要的内容。

如果您想为其分配键盘快捷键,请转到“工具”>“键盘快捷键”。菜单上的选项,勾选“选项”窗口左下角的显示所有设置,然后通过左侧的树导航到“环境”>“环境”。键盘。显示键盘设置后,在“显示包含的命令”文本框中输入 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, type Edit.ValidateDocument into the "Show commands containing" textbox, change the "Use new shortcut in" drop-down to HTML Editor Design View and then click in "Press shortcut keys" and enter the shortcut key you wish to use. I suggest Shift-Alt-V as it's not assigned by default in Visual Web Developer 2010. Finally click "Assign" and then "OK"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文