6 comments
Comment actions Permalink

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:

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

0
Comment actions Permalink

Maxim Mossienko wrote:

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


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.

0
Comment actions Permalink

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

0
Comment actions Permalink

Crap. Screenshot didn't get attached. Trying again...



Attachment(s):
warnings.bmp
0
Comment actions Permalink

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.

0
Comment actions Permalink

Is this what you mean?  (see video referenced in bug)

http://youtrack.jetbrains.com/issue/IDEA-87544

0

Please sign in to leave a comment.