背景:
我对 Visual Studio 2010 相当新(之前使用过 Lua、LIMSBasic(Labware)和其他一些没有像样的 IDE 的语言),喜欢代码中被提取出来的任务列表的想法。
我已经学会了如何使用注释生成各种 "// TODO:" 和其它类型的任务列表,并在 stackoverflow 上找到一些好的列表,但是我无法确定是否有可能将它们添加到 csHTML 文件中,甚至不知道怎么做!(无论我如何折腾谷歌)
我已经尝试使用以下所有方法:
<!--// TODO: Work out how to add todo stuff to the tasklist!-->
// TODO: Work out how to add todo stuff to the tasklist!
<!--TODO: Work out how to add todo stuff to the tasklist!-->
<!-- TODO: Work out how to add todo stuff to the tasklist!-->
@// TODO: Work out how to add todo stuff to the tasklist!
...但任务列表中没有添加任何内容。
问题:
我的问题是:是否有可能在csHTML(使用Razor的MVC 3)中添加"TODO:"和其他任务列表项,如果可以,怎么做?