Visual Studio 2010 查找绿色波浪线
除了直观地扫描每个标记文件之外,是否有其他方法可以在 Visual Studio 2010 中找到所有绿色波浪线?
Is there a way to find all the green squiggly lines in Visual Studio 2010 other than visually scanning each markup file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
打开错误列表面板,启用警告“选项”。
请参阅绿线警告 (2)....
该警告似乎仅针对打开的文件出现。因此,在工作时请留意该面板。您可以在 VS 中执行全面打开所有文件来检查是否有任何遗漏的警告。
Open the error list panel, enable the warning 'option'.
See green line for Warning (2)....
The warning appears to only appear for files that are open. So keep an eye on that panel as you are working. You could do a blanket-open-all-files in VS to check for any missed warnings.
菜单视图>错误列表
绿色的摆动线意味着它们是警告(与红色的警告相反,这些是错误,会阻碍您的代码构建)
双击单独的警告(以及同样的错误)将带您在代码文件中找到它们。
Menu View > Error List
Green wiggly lines mean they're warnings (as opposed to the red ones, those are errors and would impede your code from building)
Double clicking separate warnings (and errors likewise) will take you to them in your code file.