Some notes on bad VB intellisense behavior :-(((

The new intellisense behavior for VB hinders more than it is useful at the moment. Beneath strange behavior the performance, specially on large files (> 5.000 lines), is very bad. Sometimes the IDE is frozen for 10 to 30 seconds while R# is opening the intellisense popup. Automatic completion is invoked on the wrong places (i have posted a number of examples here). Currently i have seen that you can't input double values without problems. I call the constructor of a class which takes double parameters

   dim myvar = new ValueClass(0.0, 0.0)

After entering the decimal point and the zero, intellisense pops up and when i enter the comma R# completes my input to 0.CompareTo. There are a couple of similar issues. Somtimes i wish a developer would sit beneath me that he can see what happens. It's sometimes hard to describe.

I think i will disable R# intellisense until it is improved.

Regards
Klaus

7 comments

Yes, I had the same problems - slowness, wrong popups. I switched over to using VS2010 intellisense in R# Options. R# also looks like it is lacking some intellisense features lie: it doesn't fill in "optional parameters" like VS2010 intellisense does when you are calling a method and don't know what optional parameters the method takes. For example in VS2010 if you have a sub:

Public Sub Test(Optional myparam as Integer = 0)

End Sub

When you try to call it by typing:

Test(<caret here>

VS2010 allows you to type "m" and it selects "myparam:=" and if you hit enter it writes:

Test(myparam:=<care here>)

R# intellisense doesn't do this.

.

0

Hello Klaus,

Thank you for providing the feedback! Could you please capture some performance
snapshots following the instructions at http://tinyurl.com/6xgxpw5 (you can
use the latest build of dotTrace from http://tinyurl.com/3zvjswp) and upload
it to ftp://ftp.intellij.net/.uploads/? This would really help us to find
out why IntelliSense is slow. As to the problem with floating/double numbers
entering, this is a known problem and it is logged under http://youtrack.jetbrains.net/issue/RSRP-185610.
I've raised its priority and you're also welcome to vote for that issue.

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

The new intellisense behavior for VB hinders more than it is useful at
the moment. Beneath strange behavior the performance, specially on
large files (> 5.000 lines), is very bad. Sometimes the IDE is frozen
for 10 to 30 seconds while R# is opening the intellisense popup.
Automatic completion is invoked on the wrong places (i have posted a
number of examples here). Currently i have seen that you can't input
double values without problems. I call the constructor of a class
which takes double parameters

dim myvar = new ValueClass(0.0, 0.0)

After entering the decimal point and the zero, intellisense pops up
and when i enter the comma R# completes my input to 0.CompareTo. There
are a couple of similar issues. Somtimes i wish a developer would sit
beneath me that he can see what happens. It's sometimes hard to
describe.

I think i will disable R# intellisense until it is improved.

Regards
Klaus
---
Original message URL:
http://devnet.jetbrains.net/message/5298941#5298941



0

i've just completed the profiling. Unfortunately the polices at my office don't allow ftp uploads. I will take the files home and upload them tonight. While profiling i had the problem, that the IDE hangs after pressing <Ctrl>-<Space> to explicitely open the intellisense popup. I took a snapshot after around 3 minutes waiting and then went to lunch. When i came back, IDE was responsible. I profiled a second time, now only what happens after pressing <Ctrl>-<Space>, and got an error (see RSRP-242647). The IDE was blocking too but not such long as the first time (maybe 20 to 30 seconds). Both snapshots show that most of the time is spend in the JetBrains.ReSharper.Psi.XmlIndex.XmlIndexThread which is just waiting.

dottrace.jpg

Maybe this is a starting point for your investigations. Nevertheless, as i told before, i will upload both snapshots when i arrive at home.

Regards
Klaus

0

i hope i've managed it to upload the two trace files. Upload speed on DSL is horrible :|. I'm not sure if the files really arrived because i couldn't see them after upload was finished (used FireFTP addon in Firefox). Nevertheless, the first, larger, file (IntellisensePerformance.dtp) is a snapshot from some edit actions. I copied some source and renamed functions and variables (not via rename refactoring) and at last i opened Intellisense popup explicit via Ctrl-Space. Here i had the 3 minute freeze of the IDE. The second, smaller (IntellisensePerformance2.dtp) is a snapshot of just open intellesense popup.

Hope it helps you to investigate the problem. If you need more help, let me know.

Regards
Klaus

0

Hello Klaus,

Thank you! I was able to look at the snapshots and there're definitely some
performance issues. I've logged them under http://youtrack.jetbrains.net/issue/RSRP-243288
and http://youtrack.jetbrains.net/issue/RSRP-243289, so you can monitor the
progress.

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

i hope i've managed it to upload the two trace files. Upload speed on
DSL is horrible
. I'm not sure if the files really arrived because i couldn't see them
after upload was finished (used FireFTP addon in Firefox).
Nevertheless, the first, larger, file (IntellisensePerformance.dtp) is
a snapshot from some edit actions. I copied some source and renamed
functions and variables (not via rename refactoring) and at last i
opened Intellisense popup explicit via Ctrl-Space. Here i had the 3
minute freeze of the IDE. The second, smaller
(IntellisensePerformance2.dtp) is a snapshot of just open intellesense
popup.

Hope it helps you to investigate the problem. If you need more help,
let me know.

Regards
Klaus
---
Original message URL:
http://devnet.jetbrains.net/message/5299117#5299117



0

Today i'm testing how NHibernate and FluentNHibernate can help me to implement my data access layer in a new application. My testcode is written in C# and i'm using the latest EAP build (2137) on Visual Studio 2008. I notice the same weird intellisense popup behavior like in VB. I wanted to declare a property named BearbGrpNr. Popup is shown while entering property name and when i press space after finishing my property name is replaced by "BadImageFormatException" which was the marked entry in the intellisense popup (see attached video). This is a very bad user experience. In VB this problem is solved meanwhile.

Regards
Klaus



Attachment(s):
intellisense.7z.zip
0

forget it. I was mixing VB and C# syntax. If i precede the variable name with a type modifier evferthing is ok.

Sorry
Klaus

0

Please sign in to leave a comment.