Intention actions and code analysis broken
Hi all,
I've been using IDEA 8.1.x on Ubuntu 9.04 (8.04 previously) for a while, after switching from Windows to Ubuntu and also upgrading to IDEA 8.x from 7.x.
Now most stuff works just fine, startup time and general performance is very decent, but... it happens quite often that code inspection / analysis (the small box in the upper right corner of the source editor) breaks down and hangs at 51% (right now it's at 58% and stuck) or so and probably because of this or the same underlying issue the intention actions won't work most of the time.
That really really bugs me because I really do not want to do all that stuff by hand that I'm used to having IDEA do for me... of course you guys have been working with this IDE for a while now and probably know what I mean... heck, even adding some class fields and not being able to auto-generate the accessor methods is a gigantic PITA
Alright, so... anybody having the same issues? Suggestions for fixing this issue?
(My system is btw... Ubtuntu 9.04 64 bit, IDEA 8.1.2, JDK 1.6.0_13-b03 64 bit.)
Thanks for helping me out!
All the best,
Denis
Please sign in to leave a comment.
By the way, only the "Syntax" analysis hangs, the "Inspections" part seems to get completed. I already tried invalidating compiler cache and disabling a bunch of plugins.
Also, reinstalling and using fresh IDEA caching paths (.IntellijIdea80(x)) didn't help. Same stuff, code syntax analysis hangs at 58%. Rebuilding project won't help either (obviously I've tried that a few times before ).
Try disabling third-party plugins
Denis wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
I have not a single third-party plugin installed and already tried disabling some of the ones included in the installation by default. Other ideas?
And also further info:
* There are no errors / stack traces IDEA shows me to help with this issue, nor is there something in the shell log that stays open in the background after opening IDEA.
* Intention actions work fine in other file types, e.g. Javascript.
Do I have to switch back to 7.0.x or even go through the hassle of setting up my dev env on Windows again? That would suck... I appreciated the new features and improvements in the 8.x version.
Can it be related to http://www.jetbrains.net/jira/browse/IDEADEV-35063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel ?
I still experience that the analysis can be annoyingly slow and seem to hang at a certain point (~50%).
Thanks for the pointer to the issue. I can't see how it might be the same issue, because my CPU really is idle and I don't really know which of my actions got the IDE into this state of stuck code syntax analysis... because it never gets any further than 58% or something, even if I reopen the project.
I suspect that you're seeing at least a good amount of CPU activity?
I'll try and see what happens on other projects, checked with only the biggest one so far, the one I work on most of the time.
In any case, thanks for replying... hopefully somebody will point me towards something I haven't thought of yet
- Denis
When I remove the Groovy facet from the project / module the code syntax analysis gets completed and all the stuff like intention actions and Alt + Ins is available again.
I can't see what might be wrong in my Groovy classes / scripts that might cause this problem... nor did I mess with the Groovy config or something. Using Groovy 1.5.7. Any ideas? I can disable the Groovy facet for a while, but of course it would be nice to get that working again, too.
Thanks.
- Denis
I agree, seems like you are facing a different issue. I am running windows xp and have quite a lot of cpu activity during the analysis, so it doesn't match very well with you case which started after switching to ubuntu and having an idle cpu.
Allthough analysis take a bit longer than I would have liked some times, I think it has gotten better during the newer builds.
Best of luck, hope you resolve your issue