IntelliJ IDEA always updating indices - intellij-idea

Version 2018.2 182.3684.101
every 2 sec. again and again.
other project not like this.
I have to tr fild->Invalidate Caches / Restart.
no use.
What can I do now?

It's a known issue specific to Android support.
The issue is already addressed in IntelliJ IDEA 2018.2.1 version.

Related

Intellij IDEA search functionality always stops working

The find in path search works on newly cloned/downloaded repos. But I notice after a few days, all search functionality in the IDE just stops working. Searching for anything string turns up 0 results in project, module, directory paths. Anyone else experience this? It's infinitely infuriating T.T
OS: Mac
Version: Intellij IDEA Ultimate 2020
Settings: only default
Please, try to invalidate caches via File | Invalidate Caches / Restart option.
It's a known issue IDEA-266391 and you can update IntelliJ IDEA to the 2021.1.1 version with the fix.
So it turns out this is happening whenever I change branches. So your suggested soln above works well. thanks!

Intellij IDEA freezing when trying to move files into project

Whenever I try to move a file into a project I have in IDEA it freezes up after displaying the the move file dialog. I've tried searching around but haven't found anything helpful.
I had the same issue while using an EAP release version. The milestone release did not behave like that.
Here is more info on the subject from JetBrains: Please note that EAP builds are not officially supported. Please use released versions from http://www.jetbrains.com/idea/download/index.html if you want stable functioning.
Could be related to https://youtrack.jetbrains.com/issue/IDEA-145305 .
ruku, I'm not sure if the EAP build was your problem, but if you're like me and are using a stable build and cannot upgrade (compatibility issues with others on my project), I recommend the workaround of just creating a new file and pasting the file content in there. It's not very elegant, and requires manual refactoring for any files already referenced within the project, but since you're moving a file into the project you shouldn't have that issue.
Like sday, it happened to me when moving a file within the project. I am not using an EAP Build. I am using 14.1.4, build #IC-141.15.32 build on June 18, 2015. I installed on 2015-09-05 from the main JetBrains page that sday mentioned. I'm using osx 10.11.1.

intellij unresolved symbol for go lang project

I am using go sdk 1.2.1 linux/386 in intellij 14.0.3. However, when I open a golang project many function and variable are unresolved. I do not what is wrong with intellij. Anything that I can do to make the unresolved symbol solved. I have met the problems before. but I do not know to to solve it. Anyone have met the same problem before? Please help.
Thanks.
As I have no information about which plugin version you are using I'm going to assume that you have 0.9.15.3 release.
The fastest way to fix it would be to use one of the early releases for 1.0.0, available here: github releases page for go plugin for intellij idea
The plugin is currently under a major refactoring and we've started releasing preview builds for it. While the alpha name might be scary, I'm using it daily at work and it's very stable but not everything is up on par with the quality we want it to have.
If you have any further questions, either ask here or browse in the issue tracker
Also, there's a small community on Gitter and you may get answers from there as well.

Why does IntelliJ IDEA 13.1 show sbt files with so many lines in red?

I had a working sbt based project. After some small change that I can not specifically identify all the sbt files are having object resolution issues (see screenshots).
I tried the following:
sbt refresh
project rebuild
reimport project
These did not work.
Then I started going farther afield to resolve the issue. I copied the *.sbt files from another project on top of the ones in this project. Still no dice. Now I do not have time presently to actually completely destroy, rebuild the project from scratch - and in any case that does not lead to any insight on the root cause here.
Has anyone experienced this issue - and any suggestions on remedies/workarounds?
Update I finally tried
sbt gen-idea
even though this project was **not ** built that way.. It did make a difference: at least the crazy errors went away. But now a different set of problems arises: the assembly and packaging imports are not being resolved (see LAST screenshot). But this seems a bit more healthy at least .
Following screenshot is after running sbt gen-idea. Situation has improved but now get assembly/packaging import errors.
Another update
OK, I have quit and restarted IJ and things are finally back.
So the objective changes that I made:
sbt gen-idea
stop/restart IJ
This is feeling like magic incantations here .. Not a solid process.
A sort of a workaround could be to upgrade to the latest EAP of IntelliJ IDEA 13.1.3 build 135.909, released on May 23rd, 2014. It comes with more sophisticated Scala plugin that is much clever than the previous versions and hopefully could help here and there.

Intellij IDEA 13 - Can't open Project Structure dialog anymore

as already described in title, i'm not able to open the project structure dialog window in intellij anymore.
neither the shortcut (Ctrl+alt+shift+s) nor the menu element under File -> Project Structure nor the little button in the upper right corner do work.
Clarification: Menu element :
This "bug" occured suddenly as I wrote a web (vaadin/maven) project and tried to set up glassfish, where i often had to switch to the project structure dialog.
Since the first occurence i wasn't able to fix it by restarting intellij or switching projects.
This also happened on my laptop running the same intellij and windows version (Ultimate 13.0.1 Build: 133.331 on Windows 7 x64)
i appreciate any help!
This also happened to me, but removing new plugins etc didn't help.
Nor did nuking my project and rebuilding it from scratch.
In the end I deleted all caches, restarted Intellij and at last I could access the project settings again! By the way, I'm using Intellij 11.1 - mainly because I can't get 13 to start up, but that's another story
Your log shows that it is a bug in IntelliJ IDEA - they are trying to create file passing null pathname. Try to delete project files and reopen project from scratch (maybe you've lost some file) - if it won't help then you should create an issue here: http://youtrack.jetbrains.com/ - You can even copy-paste text from your question and attach stacktrace
I had the same issue...upon further inspection in the log dump...I noticed the following:
ERROR - llij.ide.plugins.PluginManager - com.intellij.openapi.fileChooser.FileChooserDescriptor.setTitle(Ljava/lang/String;)V
java.lang.NoSuchMethodError: com.intellij.openapi.fileChooser.FileChooserDescriptor.setTitle(Ljava/lang/String;)V
at com.jetbrains.python.sdk.PythonSdkType.getHomeChooserDescriptor(PythonSdkType.java:247)
Disabled the latest Python Plugin and restarted and everything is working normal again.
I remembered I had recently update my python plugin and am not using it presently so I was able to disable it without issue.
Hope this helps someone else.
This also happened to me. The comment above helped. I had just added some plugins. Disabled them and it started working again. Not sure exactly which one because I disabled all 4 -- Bean Validation Support, Bitbucket, Jelastic Cloud Platform Integration, and Quick Notes.
For me it has been resolved by switching off FindBugs plugin and restart IDEA. So Project Structure is available for me now.
One of the plugins might be causing it. To disable a plugin, go here:
You'll know for sure if a plugin is bad if you see this Exclamation picture:
Clicking on it will bring up a pop-up. To disable the plugin, click on this:
For me it got resolved just by restarting the intelliJ IDEA. I'm using intelliJ IDEA Ultimate 2018.1 edition.