简体   繁体   中英

How to write a comment that links to a specific line in VB.NET

How to write a comment in VB.NET that links to a statement, line or object within the same project but different file? If this option is not available in comments, what do you suggest to make linking possible?

I need this function so that I remember to update a method when I apply changes in another one.

Write a comment above the function as usual, but at the beginning add TODO within a few seconds, this comment will show up in your task list window.

If your task list window isn't visible, click on View in the top menu strip, click Other window and select Task list . All your TODO comments will show up here. To go to the code relating to the comment, just double click on the relevant comment.

When you have completed what you want to do, simply delete the comment in your code, and it will be removed from the task list.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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