Visual Studio CSharp C# Tasks to track comments as links
Example here uses Visual Studio 2012
Better alternative that Visual Studio Bookmarks.
This is a method to just use certain wording in your code comments and Visual Studio will Track them so you can double-click them in the task window as a link to that area of the code. You can add your own "customized" prefix and set your instance of Visual Studio to track this.
How to: Create Task List Comments
Visual Studio 2008
7 out of 9 rated this helpful - Rate this topic
The Task List displays comments in your code that begin with the comment marker for your development language. Next to the comments, the Task List also displays a default task token, such as TODO, HACK, or UNDONE, or a custom comment token. The number of comments that appear in the Task List may change, depending on the type of project you are working on. With Visual Basic and Visual C#, the Task List displays all the comments in the solution. With Visual C++ projects, the Task List displays only the comments that are found in the file that is currently active in the editor.
Task List comments can be used to indicate a variety of work to be done at the location marked, including:
- features to be added;
- problems to be corrected;
- classes to implement;
- place markers for error-handling code; and
- reminders to check in the file.
As with other Task List entries, you can double-click any comment entry to display the file indicated in the Code Editor and jump to the line of code marked.
No comments:
Post a Comment