Funny bug with completion
I filed http://jetbrains.net/jira/browse/IDEA-3716 four months ago. It's
a funny bug to me because it seems like JetBrains would have to
purposely write code to produce the bug.
To reproduce:
class Tester {
int WCONSTANT1;
int WCONSTANT2;
int VCONSTANT1;
int VCONSTANT2;
{
// cursor here
}
}
Try typing VCON and pressing Ctrl+Space. Now try it with WCON. You see
"VCONSTANT1" and "VCONSTANT2" in the first case, and "WCONSTA..." twice
in the second case. The "..." shows for all symbols which begin with the
letter W in completion popups.
Please sign in to leave a comment.
Keith Lea wrote:
Too bad, I don't see this. No funny bug for me :(
I'd suspect though that this is due to a jacked-up string width calculation that is
probably specific to the font you're using. Could be a miscalculation, a broken font or
possibly a JDK bug.
I think you should specify which editor-font you're using, that should make it easier to
track this down.
Sascha
I don't know if it's a font width issue because it's always two dots,
even for words like "WWW" which become "W..". I don't think I've changed
my font from the default. It's Monospaced size 10.
Sascha Weinreuter wrote:
>> Try typing VCON and pressing Ctrl+Space. Now try it with WCON. You see
>> "VCONSTANT1" and "VCONSTANT2" in the first case, and "WCONSTA..."
>> twice in the second case. The "..." shows for all symbols which begin
>> with the letter W in completion popups.
It's probably something specific about your setup, because I don't see
it either. My specifics: Windows XP, running IDEA on jdk 1.5.0_05, font:
Andale Mono.
Bas
Keith Lea wrote:
Nope, I don't see this either (build #4055)...
Seems bug for JDK 1.6
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6477341
Keith Lea wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"