【发布时间】:2011-09-03 20:41:03
【问题描述】:
背景:
我是 Visual Studio 2010 的新手(曾在 Lua、LIMSBasic (Labware) 和其他一些没有使用像样的 IDE 并且喜欢从我直接在代码中编写的 cmets 中提取任务列表的想法.
我已经研究了如何使用 cmets 来生成各种“// TODO:”和其他任务列表,并在 stackoverflow 上找到了一些我可以做什么类型的好列表,但我无法建立 (没有知道我滥用 google 有多难) 即使可以将它们添加到 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!
...但任务列表中没有添加任何内容。
问题:
所以我的问题是:是否可以将“TODO:”和其他任务列表项添加到 csHTML(使用剃刀的 MVC 3),如果可以,如何?
【问题讨论】:
标签: asp.net asp.net-mvc visual-studio asp.net-mvc-3 tasklist