English 中文(简体)
a. 视力室的信号: HACK, ToDO... any other? [闭门]
原标题:tokens in visual studio: HACK, TODO... any other? [closed]

what tokens do you find useful in visual studio? (visual studio 2010environmenttask list → tokens)

目前只有:

  • HACK - low
  • REVIEW - high
  • TODO - normal
  • WTF - high

(仅删除部分违约内容)

<>strong> 是使用任何其他方法的?

< 请你在评论中报道任何其他重要事项?

是否有任何最佳做法? th

最佳回答

我这里使用的是:

  • TODO: the functionality is not yet implemented
  • FIXME: the code should be modified/refactored to achieve some goal (higher maintainability, better performance, and so on)
  • BUG: the code has a known bug
问题回答

我把上述大多数症状结合起来。

 RED: code that simply does not work / compile
 // Error - This code is throwing a specific reproducible error.
 // Broken - This code is broken and will not run.
 // WTF - WHAT THE FRIG.

 ORANGE: code that works but is not right
 // Hack - This code has intentionally been hacked in order to work. Should not go into production.
 // FixMe - This code works but could be better. Needs better abstraction, maintainability, performance, etc.
 // Bug - This code works and was expected to be right but a bug has been found. (usually flagged post production)
 // Review - This code is probably right but should be reviewed for piece of mind.
 // Smells - Same as FixMe

 BLUE: code that works but either needs more features or more explaining
 // Todo - Functionality is not yet implemented
 // Note - Better explain what s going on. This is gives a higher profile to standard comments, and allows notes to be found in the to-do pane.

我和Token REMOVE一样,表示它只是为了测试,不应列入最后释放。

另一个内在组成部分是NOTE。

维姆自动强调<条码>XXX,为方便打字,这实际上是我选择的象征。

rel=“noreferer”> Sun s (old) Java coding conventions 必须指出:

使用XXX,在一份评论中标注一些虽然是干的。 使用<条码>FIXME,以标示 b和破碎的东西。





相关问题
building .net applications without Visual Studio

I m interested to hear about people working with building .net applications using MSBuild, NAnt or similar tools. What are you using, why are you using it instead of the VS IDE? I like to use ...

Tips for debugging a made-for-linux application on windows?

I m trying to find the source of a bug I have found in an open-source application. I have managed to get a build up and running on my Windows machine, but I m having trouble finding the spot in the ...

Visual Studio 2010 Beta 2: Can I print in color?

I have to turn in a hard copy of some code with an assignment. Is there any way in Visual Studio 2010 to print C# source code with syntax highlighting? PS: The assignment is solving a math problem, ...

Set Select command in code

On button Click I want to Set the Select command of a Gridview. I do this and then databind the grid but it doesn t work. What am i doing wrong? protected void bttnView_Click(object sender, ...

WPF design-time context menu

I am trying to create a custom wpf control, I m wondering how I can add some design-time features. I ve googled and can t seem to get to my goal. So here s my simple question, how can I add an entry ...

热门标签