Intellisense just doesn't work for me

Suppose you have this case (switch to R# Intellisense):

    Public Enum MyEnum
        One
        Two
        Three
    End Enum


    Public Sub Test(ByVal item As MyEnum)
    End Sub

    Public Sub CallTest()
        Test(   <-- CARET HERE
    End Sub

First question: Why do I get no IntelliSense here? No automatic dropdown like VS does?

Second question: I was hoping to see a list of: MyEnum.One, MyEnum.Two, MyEnum.Three. Since R# isn't showing a dropdown automatically I hit CTRL-<SPACE> and R# sits for about 5-10 seconds (why is that?) and then it shows me all kind of irrelevant classes. (Shouldn't I just see members of my Enum as options since there is no other argument that you can pass). VS2010 Intellisense is a little better (definitely pops up immediately and doesn't wait 5-10 seconds to popup) but also shows irrelevant stuff. I really would like to see RELEVANT completion options, is there a way you guys can filter out all the junk??


10 comments
Comment actions Permalink

Hello Denis,

This looks like a bug to me. You can track its status at http://youtrack.jetbrains.net/issue/RSRP-263382.
Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Suppose you have this case (switch to R# Intellisense):

Public Enum MyEnum
One
Two
Three
End Enum
Public Sub Test(ByVal item As MyEnum)
End Sub
Public Sub CallTest()
Test(   <-- CARET HERE
End Sub
First question: Why do I get no IntelliSense here? No automatic
dropdown like VS does?

Second question: I was hoping to see a list of: MyEnum.One,
MyEnum.Two, MyEnum.Three. Since R# isn't showing a dropdown
automatically I hit <SPACE> and R# sits for about 5-10 seconds (why is
that?) and then it shows me all kind of irrelevant classes. (Shouldn't
I just see members of my Enum as options since there is no other
argument that you can pass). VS2010 Intellisense is a little better
(definitely pops up immediately and doesn't wait 5-10 seconds to
popup) but also shows irrelevant stuff. I really would like to see
RELEVANT completion options, is there a way you guys can filter out
all the junk??

---
Original message URL:
http://devnet.jetbrains.net/message/5302851#5302851



0
Comment actions Permalink

I still have problems with Intellisense (using R# 2154 and VS2010)

(1) If you switch between R# intellisense and VS intellisense.

VS Intellisense is much much faster - dropdown appears instantaneously and R# intellisense takes about

5 seconds to appear after you type an open parenthesis (if it appears at all, in R# 2154 it doesn't appear again).

(2) I don't understand why I should wait for R# intellisense if it doesn't give me anything better than VS's intellisense. For example I am looking at the following case right now: I have a method like:

Public Sub TestMethod(ByVal myobj as IMyInterface)

End Sub

So if I call my method as:

---------------------------------------

TestMethod( <-- I am expecting to see only implementations of IMyInterface in the dropdown here but am getting all kinds of junk

Pressing (CTRL-SHIFT-SPACE)  doesn't drop anything down.

0
Comment actions Permalink

Hello,

TestMethod( <-- I am expecting to see only implementations of
IMyInterface in the dropdown here but am getting all kinds of junk


You cannot limit completion list to only implementations of the interface
because this will block you from typing something like "factory.GetImplementationOfInterface()"
(where "factory" is not an implementation of the interface and would be missing
from the list). When you type "factory.", on the dot it will attempt to complete
to someting from the list, which will interfere with normal typing.

The desired effect can though be achieved with Smart Code Completion (CtrlAltSpace)
which intentionally filters down the list of alternatives.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0
Comment actions Permalink

Hello Denis,

Also, could you please gather some performance snapshots of this behavior?
The times you've mentioned seem to be very high and we would really like
to find out the reason. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I still have problems with Intellisense (using R# 2154)

(1) If you switch between R# intellisense and VS intellisense.

VS Intellisense is much much faster - dropdown appears instantaneously
and R# intellisense takes about

5 seconds to appear.

(2) I don't understand why I should wait for R# intellisense if it
doesn't give me anything better than VS's intellisense. For example I
have a method like:

Public Sub TestMethod(var as IMyInterface)
End Sub
So if I call my method as:
---------------------------------------
TestMethod( <-- I am expecting to see only implementations of
IMyInterface in the dropdown here but am getting all kinds of junk
---
Original message URL:
http://devnet.jetbrains.net/message/5304469#5304469



0
Comment actions Permalink

Sorry, I am not allowed to post files externally. This should be easily reproducible on big projects.

0
Comment actions Permalink

But I have "Smart Code Completion" selected as my default intellisense behavior and it isn't happening. (See automatic complete behavior setting below)

untitled.JPG

0
Comment actions Permalink

Hello,

But I have "Smart Code Completion" selected as my default intellisense
behavior and it isn't happening.


R# has four code completion kinds: automatic, basic, smart, and type name.
The code completion to appear automatically when typing is of the special
"auto completion" kind and cannot be switched to any other kind by a setting
-- because this would interfere with typing. The other three kinds only work
when invoked through a command (keyboard shortcut, menu item, etc). I don't
think there's any option for switching R#'s default intellisense behavior
to Smart Completion.

Image:untitled.JPG


From what I see on this screenshot, you have R# automatic completion turned
off (when typing or pressing Ctrl+Space you'd see Visual Studio intellisense).
You can still summon Smart Completion with CtrlAltSpace.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0
Comment actions Permalink

Thank you for explaining. Really wish smart completion was an option for auto completion. It seems that R#'s dumb auto completion

is much slower than VS's dumb auto completion so if I had to pick which dumb auto completion to use I would go for the faster one since there is no other difference. Smart completion would give me an incentive to use R#... Not sure what my incentive is right now for using R#'s intellisense which is why I have it off.

0
Comment actions Permalink

I don't see intellisense typically taking 5 seconds, but it does seem to be
somewhat sluggish when working with a large website and sometimes doesn't
complete at all for some reason. What I'm finding is that on a fresh line of
code I can type Resources fully and intellisense appears about the type I
type either the e or the s at the end, but too often I can type the entire
word and the subequent period without seeing intellisense at all. I see this
behavior when working on the C# code-behind files as well as on javascript.

One really strange thing I can't quite figure out is that sometimes
intellisense seems as if just gives up right in the middle of me typing
something. What I mean is that I'll be on a fresh line in the middle of
typing say Resources and all of a sudden it flashes and turns red before I
finished typing. This may be related to those exception swallowed by
WOW6432.

"Andrew Serebryansky"  wrote in message
news:c8a898dd123918cdea820e0eb8d8@news.intellij.net...

Hello Denis,

Also, could you please gather some performance snapshots of this behavior?
The times you've mentioned seem to be very high and we would really like
to find out the reason. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I still have problems with Intellisense (using R# 2154)

>

(1) If you switch between R# intellisense and VS intellisense.

>

VS Intellisense is much much faster - dropdown appears instantaneously
and R# intellisense takes about

>

5 seconds to appear.

>

(2) I don't understand why I should wait for R# intellisense if it
doesn't give me anything better than VS's intellisense. For example I
have a method like:

>

Public Sub TestMethod(var as IMyInterface)
End Sub
So if I call my method as:
---------------------------------------
TestMethod( <-- I am expecting to see only implementations of
IMyInterface in the dropdown here but am getting all kinds of junk
---
Original message URL:
http://devnet.jetbrains.net/message/5304469#5304469


0
Comment actions Permalink

Hello Greg,

How big are the files you're editing (in terms of LOC)? I'll try reproducing
this behavior with a large website on our side. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

that



0

Please sign in to leave a comment.