Visual Studio 中TODO List的使用
http://msdn.microsoft.com/en-us/library/txtwdysk.aspx
工欲善其事,必先利其器
When the Task List is open, you can choose to display user tasks, comments, or shortcuts. The Task List window appears at the bottom of the application window.
To open the Task List
On the View menu, choose Task List (Keyboard: Ctrl+\,T).

To display user tasks, comments, or shortcuts
Open the Categories drop-down list, and then choose User Tasks, Comments, or Shortcuts.

 Note
The options will change based on the programming language you are using and whether or not there are shortcuts set in your code.
You can also customize how the content is displayed by changing the sort order the list, showing or hiding columns, or changing the order in which the columns appear.
To change the sort order of the list
Click the header of any column. To further refine your search results, press Shift and click a second column header.
As an alternative, on the shortcut menu, choose Sort by, and choose a header. To further refine your search results, press Shift and choose a second header.

To show or hide columns
On the shortcut menu, choose Show Columns. Choose the columns that you want to show or hide.
To change the order of the columns
Drag any column header to the location that you want.
User tasks are reminders about work that you want to do or issues that you want to address. You can create user tasks, mark them as complete, and then delete them when they are no longer needed.
To create a new user task
With User Tasks selected in the Category drop-down list, choose the Create User Task button
 in the upper-right corner of the Task List window.

Type a description of your user task, and then press Enter.
To change the priority of a user task
Click in the Priority column to the left of a task, and then select a new priority setting.

To mark a user task as complete
Select the check box to the left of a user task.
To remove a user task from the list
Choose a user task. On the shortcut menu, choose Delete.
A comment in your code preceded by a comment marker and a predefined token will also appear in the Task List window. For example, the following C# comment has three distinct parts:
The comment marker (//)
The token (TODO)
The comment (the rest of the text)
//TODO: Load state from previously suspended application
Because TODO is a predefined token, when you choose to display Comments in the Task List, this comment also appears as a TODO task in the list.
To create a new comment
In the code, type the comment marker for your code (for example, type // for C# code), a token such as TODO, HACK, or UNDONE, and then complete the comment.
Tip
After you have created the comment, you can double-click the comment in the Task List window to locate it in the corresponding code.
As an alternative, to navigate through the comments in the code, choose a user task in the list, then choose Next Task or Previous Task from the shortcut menu.
By default, Visual Studio includes the following tokens:
HACK Indicates a workaround.
TODO Indicates something to be done.
UNDONE Indicates a reversal or "roll back" of previously changed or updated code.
You can also create your own custom tokens.
To create a custom token
On the Tools menu, choose Options.
Open the Environment folder and then choose Task List.
The Task List, Environment, Options Dialog Box is displayed.
In the Tokens category, in the Name text box, enter your token name.
In the Priority drop-down list, choose a default priority for the new token. Choose the Add button.
Visual Studio 中TODO List的使用的更多相关文章
- 【翻译】在Visual Studio中使用Asp.Net Core MVC创建第一个Web Api应用(二)
		
运行应用 In Visual Studio, press CTRL+F5 to launch the app. Visual Studio launches a browser and navigat ...
 - Visual Studio中使用Macros插件给代码添加注释、时间和以及自动脚本
		
title: Visual Studio中使用Macros插件给代码添加注释.时间和以及自动脚本 date: 2020-09-11 sidebarDepth: 2 tags: 代码 Visual st ...
 - 如何在 Visual Studio 中使用 Git 同步代码到 CodePlex
		
开源社区不管在国内还是国外都很火热,微软也曾因为没有开源而倍受指责,但是随着 .Net framework.ASP.Net MVC等框架的逐渐开源,也让大家看到了微软开源的步伐.CodePlex 则是 ...
 - Visual Studio 中 Build 和 Rebuild 的区别
		
因为之前写的程序比较小,编译起来比较快,所以一直都没有太在意 Build 和 Rebuild 之间的区别,后来发现两个还是有很大不同. Build 只针对在上次编译之后更改过的文件进行编译,在项目比较 ...
 - [No0000AE]在 Visual Studio 中调试 XAML 设计时异常
		
在 Visual Studio 中进行 WPF, UWP, Silverlight 开发时,经常会遇到 XAML 设计器由于遭遇异常而无法正常显示设计器视图的情况.很多时候由于最终生成的项目在运行时并 ...
 - Visual Studio中创建混合移动应用程序解决方案Xamarin Portable Razor
		
在Visual Studio中创建混合移动应用程序的一个解决方案是使用Xamarin Portable Razor工具,这是ASP.NET MVC API针对移动设备的一个轻量级实现.Xamarin编 ...
 - 对 Visual Studio 中的Resharper禁用对某种文件的检测
		
原因:在Visual Studio中安装Reshaper后,就会对各种文件进行代码检测,但是因为Reshaper更新的速度不是很及时,所以有时会对Visual Studio中某些新功能误断,导致Cod ...
 - 在Chrome+Visual Studio中调试asp.net程序很慢的问题(Firefox也有类似问题)
		
在Chrome+Visual Studio中调试asp.net程序很慢的问题(Firefox也有类似问题) 今天开始起在Chrome中调试,发现问题主要出在菜单栏(layout文件)中,google了 ...
 - 在Visual Studio中使用正则表达式匹配换行和批量替换
		
系统环境:Windows 8.1 Enterprise Update 2 x64 开发环境:Mircosoft Visual Studio Ultimate 2013 Update 2 RC 问题:如 ...
 
随机推荐
- 纯css  写三角形
			
<div style="width: 0;height: 0;border-left: 6px solid transparent;border-right: 6px solid tr ...
 - Java Concurrency - 线程执行器
			
Usually, when you develop a simple, concurrent-programming application in Java, you create some Runn ...
 - Ehcache(2.9.x) - API Developer Guide, Cache Usage Patterns
			
There are several common access patterns when using a cache. Ehcache supports the following patterns ...
 - Linux 命令 - su: 以其他用户和组 ID 的身份来运行 shell
			
在 shell 会话状态下,使用 su 命令将允许你假定为另一个用户的身份,既可以以这个用户的 ID 来启动一个新的 shell 会话,也可以以这个用户的身份来发布一个命令. 命令格式 su [OPT ...
 - MTKLogger日志记录打开
			
MTKLogger在 拨号界面用*#446633#(不同手机可能设置不一样) 向左滑动到Log and Debugging下面有个MTKLogger,点进去 点击右上角进入设置,打开MobileLog ...
 - 第一次使用github很高端的赶脚
 - html保留字符详解
			
本文由 www.169it.com 搜集整理 1. 注释 HTML中的注释和其它语言注释作用相似,都是为了方便阅读和调试代码.当浏览器遇到注释时会自动忽略注释内容.HTML的注释格式多行和单行注释都用 ...
 - DWR应用—快速入门篇
			
DWR(Direct Web Remoting)是一个Ajax的开源框架,用于改善web页面与Java类交互的远程服务器端的交互体验. 官网:http://directwebremoting.org/ ...
 - 有道单词本添加js实现自动阅读单词
			
个人比较习惯使用有道,使用了一段时间,背单词的时候很不方便 而有道单词客户Duan没有自动阅读的功能, 本菜用强大的js实现了简单的自动下一个单词的功能, 方法:第一步打开有道路径下的" ...
 - 对C#调用C++ dll文件进行总结
			
在实际项目工作中,经常用到C#调用C++ 或者C编写的dll文件. dll支持一般函数声明和类的定义声明,但是一般为了简化,都是 采用函数声明的方式.这里主要并不是写 dll的编写. 先在vs中创建一 ...