在 Visual Studio 任务列表中列出 javascript 任务

发布于 2024-08-20 03:27:08 字数 91 浏览 8 评论 0原文

有没有办法配置 Visual Studio 2008 以显示 .js 文件中的 TODO 注释或任务列表中的脚本标记?
现在仅显示 C# 代码中的待办事项注释。

Is there a way to configure Visual Studio 2008 to display TODO comments in .js files or script-tags in the task list?
Now only todo comments from the C# code is displayed.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

尐籹人 2024-08-27 03:27:08

另一种选择是仅使用 Resharper 的待办事项资源管理器窗口,您可能已经拥有该窗口,如果没有,也应该拥有该窗口。您可以将其与其他窗口直接对接。它解析所有文件(cs、js、css 等)。

Another option is to just use Resharper's To-do Explorer window, which you probably already have and if not, should have. You can dock it right with the other windows. It parses all the files (cs, js, css, etc.).

羞稚 2024-08-27 03:27:08

http://forums.asp.net/t/414634.aspx/1

这些任务将显示在加载项和宏下的任务列表下。由于内存不足异常,我不得不排除名称为“杂项文件”和“脚本文档”的项目。它们不是可点击的任务,所以我觉得它没什么用。

另外,在相关说明http://connect.microsoft.com/VisualStudio/feedback/details/508200/task-comments-in-javascript-are-do-not-show-up-in-task-pane

http://forums.asp.net/t/414634.aspx/1

The tasks will show up under the task list under Add-Ins and Macros. I had to exclude projects with names "Miscellaneous Files" and "Script Documents" because of an out of memory exception. They're not clickable tasks, so I didn't find it all that useful.

also, on a related note http://connect.microsoft.com/VisualStudio/feedback/details/508200/task-comments-in-javascript-are-do-not-show-up-in-task-pane

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