简体   繁体   English

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

[英]List javascript tasks in Visual Studio Task list

Is there a way to configure Visual Studio 2008 to display TODO comments in .js files or script-tags in the task list? 有没有办法配置Visual Studio 2008以在.js文件或任务列表中的脚本标签中显示TODO注释?
Now only todo comments from the C# code is displayed. 现在只显示来自C#代码的todo注释。

Another option is to just use Resharper's To-do Explorer window, which you probably already have and if not, should have. 另一种选择是只使用Resharper的To-do Explorer窗口,你可能已经拥有它,如果没有,应该有。 You can dock it right with the other windows. 您可以将其与其他窗口对接。 It parses all the files (cs, js, css, etc.). 它解析所有文件(cs,js,css等)。

http://forums.asp.net/t/414634.aspx/1 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. 由于内存不足异常,我不得不排除名称为“Miscellaneous Files”和“Script Documents”的项目。 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 此外,在相关说明http://connect.microsoft.com/VisualStudio/feedback/details/508200/task-comments-in-javascript-are-do-not-show-up-in-task-pane

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM