Intellisense parameter list incorrect positioning
I have a method who's signature is:
Culture and SectionParameterType are both enum's (which might be part of the problem.
Now, when I try to call the function:
1 -
sp.Set
--> hit (
--> I have sp.SetValue(); // is my cursor
2 -
Hit Ctrl-Shit-Space
-->Culture. shows up with intellisense for choice of enum
3 -
Select proper enum value,
-->Hit , to go to next parameter
-->I now have sp.SetValue(Culture.English, );
4-
I (sometimes) lose my parameter popup window, so I hit ctrl-P (even if I don't lose it, the next thing still happens)
--> Parameter window has 3rd parameter "string value" as bold, even though I'm clearly at the 2nd parameter.
This happens 100% of the time when you do it exactly that way..which just happens to be how I do it I guess :) No biggy.
karl
2
Please sign in to leave a comment.
The bug isn't nearly that complicated to reproduce, and appears to be related to the position of the cursor. If its glued to the closing ) and has a space infront of it, it'll skip a parameter.
I don't think your screenshot attached properly..seems to have dumped something to the post...
Trying again.
Attachment(s):
untitled.GIF
Hi,
I have noticed the same problem.
Here is the screen shots:
First I typed method call then moved cursor inside the parenthesis and pressed Ctrl+P...
I got folowing picture (as expected):
Then I pressed right arrow
And got this (notice absence of second parameter):
More funny, is when I moved cursor back (press [<=]) I got picture which is different from the first one (there was no blue highlighting):
I have this kind of behavior every time when there is more than one parameter in method call...
And talking about your String.Join() example. I have picture like yours (with string[] value highlighted) only when my cursor is positioned like this:
String.Join(":",| );
When cursor moved one position to the right, like this:
String.Join(":", |);
...I'm getting the 2nd line hint with int startIndex highlighted (like I have one more comma in my list)...
Regards,
Chepel
"Valentin Kipiatkov" <valentin@intellij.com> wrote in message news:26108026.1091825351981.JavaMail.itn@is.intellij.net...
Attachment(s):
ss1.gif
ss2.gif
ss3.gif
Never mind!
It seems like in new buid (104) this problem doesn't exist any more... =))
Thanks,
Chepel
>"Chepel" <net@net.net> wrote in message
news:cf114b$3ok$1@is.intellij.net...
>Hi,
>I have noticed the same problem.
>Here is the screen shots:
I agree that 1.04 has fixed this issue.