TODO:任务列表中未显示注释 [英] TODO: comments are not showing up in the Task List

查看:76
本文介绍了TODO:任务列表中未显示注释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在硬盘驱动器发生故障后,我不得不重新安装所有开发工具,而Visual Studio出现了问题.

I had to reinstall all my development tools after a hard drive failure and I'm having a problem with Visual Studio.

我在项目中分散了一堆//TODO:物品,无法在用户任务下的任务列表中显示它们.我重新启动Visual Studio无效,然后在任务列表"设置中检查了令牌,并列出了TODO.

I had a bunch of //TODO: items scattered throughout my projects and I can't get them to show up in my Task List under the User Tasks. I restarted Visual Studio to no effect, then I checked the tokens in the Task List settings and TODO is listed.

关于如何使它们重新列出的任何想法?我不记得上次安装VS时必须更改任何设置才能使其正常工作.

Any idea on how I can get them to be listed again? I don't remember having to change any settings last time I installed VS to get this to work.

推荐答案

默认情况下,TODO注释仅显示在当前打开文件的任务列表中. Visual Studio不会自动搜索整个解决方案.

By default, TODO comments are only shown in the task list for currently opened files. Visual Studio doesn't automatically search through the entire solution.

随着时间的流逝,许多用户最终大部分时间都打开了大多数项目文件(至少对于中等大小的项目而言),因为Visual Studio会在* .suo文件中记住这些首选项.用户通常不关闭文件,因此打开的文件容易累积. * .suo文件本身通常不保存在源代码管理中,因此,在重建工作站时,所有内容都不会立即打开,并且任务也不会显示.

Over time, many users end up with most of a project's files open most of the time (at least for moderately sized projects) because Visual Studio remembers these preferences in a *.suo file. Users generally don't close the files, and so open files tend to accumulate. The *.suo files themselves are not typically kept in source control, and so when rebuilding your workstation everything is not opened up right away anymore and the tasks won't show.

这篇关于TODO:任务列表中未显示注释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆