简体   繁体   English

Visual Studio的任务列表

[英]Task list for Visual Studio

I often find myself in need of writing down a future Visual Studio solution improvement. 我经常发现自己需要写下未来的Visual Studio解决方案改进。 Having them at hand while working on personal projects is very handy and accelerating. 在进行个人项目时将它们放在手边非常方便并且正在加速。

Is there an extension (or maybe even a build-in feature) that would allow me to write down future changes to a list, and mark rows as "done" after implementation is finished? 是否有扩展(或什至是内置功能)可以使我将将来的更改记入列表,并在实现完成后将行标记为“完成”?

Yes. 是。 You can use the "Task List" in Visual Studio: 您可以在Visual Studio中使用“任务列表”:

Menu ViewTask List 菜单视图任务列表

Also, in the code, you can use tokens in your comments, so Visual Studio can auto-populate your task list. 另外,在代码中,您可以在注释中使用标记,以便Visual Studio可以自动填充任务列表。 Such as: 如:

//TODO: xyz
//HACK: ABC

The predefined tokens can also be extended: 预定义的令牌也可以扩展:

Visual Studio → menu ToolsEnvironmentTask ListTokens Visual Studio→菜单工具环境任务列表令牌

您是说像任务列表

It's right in the View menu... ViewTask List 就在“ 视图”菜单中... 视图任务列表

The button on the far right side will let you add a new task. 最右侧的按钮可让您添加新任务。 Any code comments starting with "TODO" will also appear there automatically. 任何以“ TODO”开头的代码注释也将自动出现在此处。

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

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