English 中文(简体)
《ReSharper 5》中为伙伴关系强调的红点是什么。 Net MVC?
原标题:What s the point of the red underline highlighting in ReSharper 5 for ASP.Net MVC?

最近,我升级为使用ReSharper 5(目前位于贝塔)。 我在伙伴关系中注意到这一点。 ReSharper以红色方式强调控制人员的所有返回声明:

“Annoying

我个人认为,这是令人费解的,因为它看起来是一种错误。 强调案文的缩略语不提供任何帮助(即灯泡)。 我看不出在<代码>上改变这一案文的打字。 Environment -> Fonts and Colors, 到目前为止,它看上去唯一可加以区别的方法是,在中不核对“Enable ASP.Net MVC参比”。 ASP. 净额-> 其他 Re-Sharper 备选办法。

www.un.org/Depts/DGACM/index_spanish.htm 这一点如何突出? 一位我就ReSharper向我提供的一些特殊问题失踪了吗? 是否有办法去除重点,同时仍然能够让MVC支持ReSharper?。

最佳回答

它不是红色的,而是 br的。 它与标准VS彩色计划中的地字面的颜色相匹配。

改变其肤色:

  1. Install ReSharper 6+
  2. Within Visual Studio navigate to ToolsOptionsEnvironmentFonts & Colors
  3. Scroll down to ReSharper ASP.NET MVC * and change the Item foreground color (and Item background if you d like) to whatever color suits you best. In your specific case you ll want to change the Item foreground of ReSharper ASP.NET MVC View.

如果在第三步,你可以发现ReSharper的物品,那么你应当重新打造。 Fonts & Colors 人工切除<代码> KongEY_CURRENT_USERSoftwareMicrosoftVisualStudio9.0FontAndColorsCache 登记册的关键(你可能必须删除..10.0.上的关键。)

问题回答

仔细地确定真正的观点/控制者/行动方法,通过魔法扼杀你。 你们可以同观点或控制者联系。

2. 本强调用于两个目的:

  1. To indicate that the View/User control exists.
  2. You can navigate to it directly by clicking on it with the mouse button and hitting the Ctrl key (or F12 in VS Scheme Binding).

这里的想法是让大家了解缺失的观点。 当一种观点缺失并击中Alt加起轨时,只有红色(案文本身)。





相关问题
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 ...

热门标签