Help wanted:Reproducible 'code goes yellow' bug
Hi,
I wonder if somebody experienced 'code goes yellow' with unused
warnings. In case the problem will be reproducable, please, post the
comments to:
http://www.intellij.net/tracker/idea/viewSCR?publicId=31833
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
请先登录再写评论。
Argh. I get it every once in a while. I just restart IntelliJ. I have
not discovered how to reproduce it.
Norris Shelton
Sun Certified Java Programmer
Maxim Mossienko wrote:
>
Maxim Mossienko wrote:
I get it sometimes, but don't know how to reproduce it. I find that
editing around "unused" variables (place a space inside the variable
name or around it and then delete it) gets rid of blocks of incorrect
yellow warnings.
I just got it by pasting some text into a String. Don't know if that's exactly what caused it but here's a screen shot of the after effects. I also noticed that every private method that is not called from within the method I was working in is marked as 'never used' including the one I was working in. Also, every variable and parameter in every method is marked as 'never used'.
I don't know if this matters but...
I have the editor split into tab groups and the java file I'm working on is very big (1900 lines - don't ask:)).
I'm using build 2013 on WinXP Pro.
Hope this helps
Crap. Screenshot didn't get attached. Trying again...
Attachment(s):
warnings.bmp
It happens to me once a week or so, I found that I don't need to restart, I just place the cursor right before the class definition, and press enter, and press backspace. Normally that causes the whole file to be reparsed, and it goes back to normal.
Is this what you mean? (see video referenced in bug)
http://youtrack.jetbrains.com/issue/IDEA-87544