Since yesterday I'm on IntelliJ 15.02 and cannot set any line breakpoints any longer. Neither by clicking on the side bar, nor by "Run -> Toggle Line Breakpoint". Is that a Bug in IntelliJ? Or is there any way to disable / enable this feature? I appreciate any help.
This seems to be an issue with the python plugin. I uninstalled the python plugin, and the line breakpoints were available again. Then I reinstalled the plugin and still everything is fine. I use the python plugin because I have Jython scripts that I call from the Java code.
The same happened to me but I did not have the Python plugin installed.
I tried (with no success):
Rebuilding the project
Invalidating caches
Restarting IntelliJ
Re-installing IntelliJ
Fortunately, disabling the PHP plugin did the trick for me.
Hope this helps someone.
EDIT (Feb. 2nd, 2016) This issue was fixed in IntelliJ 15.0.3: https://youtrack.jetbrains.com/issue/IDEA-151085
Related
I am trying to run a project with aspectJ, rather than Java, in IntelliJ IDEA. I had done it before by simply putting "aspectj-1.9.6" in a "Lib" folder and setting the folder "as Library". But I tried it again today and it is not working. I think it might be because I have updated my IntelliJ to version "2022.2.3". I saw in this link that for intelliJ version "2021.1", one should select "ajc" as the project compiler in IntellJ. But it seems that there is no such compiler option in IntelliJ version "2022.2" (as I looked at this link and also searched in this link).
I also tried to install and enable "AspectJ weaver" plugin, but I encounter the following error: "Plugin 'AspectJ weaver' failed to initialize and will be disabled. Please restart IntelliJ IDEA.". Someone has had the same problem in this post, but the answer doesn't work for me, as it refers to this link, which is not compatible with IntelliJ version 2022.2.3:
So, I wonder whether aspectJ is not supported any more in IntelliJ?
Does any one has any suggestion that I could use it with this version of IntelliJ? I do really appreciate any help.
Thanks in advance
IntelliJ IDEA is compatible with AspectJ. I am running the plugin on 2022.2.3 without any problems. But I use IDEA Ultimate, you use Community. Did you notice this in your screenshot?
Compatible with IntelliJ IDEA Ultimate
I have a problem with IntelliJ Idea 2020.1 Ultimate Edition. It shows Lombok and Spring annotations and imports in red. The project compiles, I can run tests. I did some googling. I tried to reimport maven projects and go to File->Invalidate Caches/Restart. Then I deleted Idea system directory - it does not help. Before it worked fine, I do not know why it started doing this. Can somebody help me out?
I am not sure it is a correct solution, but it worked for me. I just reinstalled IDEA. It was faster that talk to IDEA support trying to figure out what is the cause of the issue
I got the same problem and fixed it from this way. First download lombok dependency from spring.
Then go to IDE and paste it to pom file and run. It isn't fix your problem. Go to Choose this and clear cache. Then restart.
If isn't fix your problem then go to this site and download relevant version of lombok for your IDE. https://plugins.jetbrains.com/plugin/6317-lombok
enter image description here
Then it will download a file. Then go to where you install the IDE and go to this path and paste that lombok java file.
IDE path
After trying these methods error was fixed. Thank you.
I have updated my IntelliJ IDEA Ultimate to the 2016.2 version.
I had a Grails 3 project and now when I open the IDE I get the following error when trying to run my project:
Error running Grails: My_Project: Grails application is not found
I can still open the terminal and run the project manually, but it seems that IntelliJ IDEA no longer recognises my Grails application. When going to "Edit configurations...", in "Application" it says "[none]" and I can't select anything.
Grails Version: 3.1.9
Groovy Version: 2.4.7
JVM Version: 1.8.0_66
A Simple solution to this is to refresh the gradle projects.
You can do this by popping out the little gradle tab and hitting the "Refresh All Gradle Projects"
I run into the same problem always when i restart intellij. Running grails clean command from the terminal fixed it.
First, re-import the project into IntelliJ 2016.2. Choose the build.gradle file for the import. Use the gradle wrapper or a local gradle installation, where you have given IntelliJ the path to the locally installed Gradle. Let IntelliJ re-index everything. Wait until you see no further indexing on the bottom of the screen.
Second, run the application once, with no edit configuration. After this completes with error, you should be able to choose Run -> Edit Configuration / Application.
Third, you can go into the project pane to the grails-app/init/app-name/Application.groovy file and right-click on that and choose Run. After that, an edit configuration will be created.
Finally, you can try to invalidate cache and restart. (This has nothing to do with Edit Configuration, but sometimes the gradle and/or .idea caches get out of sync.)
I had the same problem after updating to IntelliJ Ultimate 2019.2.
It seems that the "little gradle tab" of the accepted answer no longer exists.
The reason in my case was that the Gradle Plugin had been disabled by the update process.
Resolution: Hit Help > Find Action > Type gradle. You should see a line "Gradle" and a ON-OFF switch at the end of that line.
Enable it and restart IntelliJ solved my problem.
I am using JRebel with Intellij Idea in Ubuntu. I have activated the plugin by pasting the code obtained from the website and it worked perfectly, but when i restart my IDE it is asking for the license again and i have to paste the license code each and everytime. How to solve this problem?
EDIT:- jrebel.lic file is not being created in ~/.jrebel/ folder
I'm posting this workaround for those who are struggling with this problem.
Uninstall the jRebel plug-in from the IDE.
Install standalone jRebel from here
Now add the following in the VM options when running the program. -javaagent:/opt/ZeroTurnaround/jrebel/jrebel.jar
This is how i solved my problem, i don't know whether it will work for others too.
I just started using PhpStorm and WebStorm and I am working on the same directory with both. The problem is that each time I switch between windows, I am prompted for reloading the project because workspace.xml changes. I really don't have any clue how to get over this. Did anyone had the same issue? What should I do?
You should not use both WebStorm and PhpStorm at the same time on the same system and project. Note that PhpStorm already includes all the WebStorm features, so you don't need WebStorm if you have PhpStorm.