shmish111
shmish111

Reputation: 3797

Visual Studio and Resharper and Symbol Completion

In Intellij or Eclipse, when I start typing a class that I haven't imported yet, I will get suggestions. For example if I type 'Lis' I will most likely get a load of suggestions of various List classes that are in my classpath. If I don't know how to spell the class properly or don't know exactly what I'm after I can work it out quickly just by typing. In VS 2012 even with Resharper, I can't reproduce this behavior. It really does make a difference, is it not possible in VS?

Upvotes: 2

Views: 149

Answers (1)

Cristian Lupascu
Cristian Lupascu

Reputation: 40556

I use the Import Symbol Completion feature for this.

Just write part of the name (or camel case initials) and press: Shift+Alt+Space (VS shortcuts) or Ctrl+Alt+Space (IntelliJ shortcuts)

This works even for types/symbols whose namespaces have not yet been imported (ReSharper will add them).

Upvotes: 5

Related Questions