English 中文(简体)
我可以让R#intellisense选择第一个列表项吗?
原标题:Can I make R# intellisense select the first list item?

我在VS2010中使用ReSharper 5.1,很长一段时间以来,我一直对这种智能感知行为感到恼火。这似乎与R#4.5/VS2008有所不同,但我没有现成的组合来验证。

假设我正在键入一些代码:

...
public Guid teamId { get; set; }
...

稍后,我决定将<code>teamId</code>设为只读属性,所以我返回将<code〉private</code〉放在<code>集合</code〕前面。当我开始打字时,我最终得到的是:

在这一点上,我必须切换到鼠标或箭头键,或者只输入private,这真的违背了这个功能的目的。

有没有办法告诉ReSharper在Intellisense弹出窗口出现后立即选择一个条目?

最佳回答

Press Ctrl+Space to have "pr" expanded to "private" If you press Ctrl+Space "before starting to type "pr", you ll get a completion list with all applicable options and a properly working focus over one of them.

问题回答

暂无回答




相关问题
Resharper Exception rethrow possibly intended

Consider this method (pardon the sad attempt at Chuck Norris humor :) ): public class ChuckNorrisException : Exception { public ChuckNorrisException() { } public ChuckNorrisException(...

Resharper Auto Complete Statement

I know it s probably something easy, but I just couldn t figure it out. Say I have the following code string name; name.LastIndexOf("aaa"); After I type the single quote Resharper will added ...

Resharper Suggestion Color Issue

I have a strange bug in resharper 4.5 in VS 2005. Instead of doing the usual underline for a suggestion -- IE: telling me that a using statement is unnecessary, it is setting the background to red in ...

StyleCop for ReSharper

I like stylecop and we use it to enforce coding standards. I dont like the fact that there is no way to automatically fix problems. So was thinking of making a plugin. Once I realised that 2010 is ...

How to repair Resharper?

I have problem with Resharper - all it s menu options are greyed, no shortcuts working... I ve tried run installer with repair option - no success Also tried uninstall / install back - same.. :( ...

Shortcut to turn on Resharper

Usually I start VS2008 without Resharper because it makes VS startup way too slow and I just need to fix a bug. But sometimes, I do want to turn on Resharper. Is there a way to setup a keyboard ...

热门标签