Is there any way to save breakpoints in IntelliJ and restore later?
You can find all breakpoints in project-dir/.idea/workspace.xml -> <component name=”DebuggerManager”>. You can save their manually.
You can find all breakpoints in project-dir/.idea/workspace.xml -> <component name=”DebuggerManager”>. You can save their manually.
Hit Ctrl + Q (or ⌃J on Mac) when cursor is on a method declaration or call. It will show you the pop-up you want. As a bonus: Ctrl + Shift + I will display method body as well in a pop-up.
Press Ctrl+Alt+Shift+C (Edit | Copy Reference) on “Editor” in the code and you’ll have the fully-qualified name in your clipboard. Or alternatively just right-click on the code and select “Copy Reference”.
I had the same issue. Forcing maven-compiler-plugin to use javac helped me discover actual compilation errors. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <forceJavacCompilerUse>true</forceJavacCompilerUse> </configuration> </plugin> More details can be found in this Maven Compiler Plugin bug report Edit: the issue is fixed in maven-compiler-plugin version 3.10.1
You need to turn on a couple of features in IntelliJ to make this work. First, there’s a project specific setting which you would need to apply on any project you want to use devtools in. Go to Preferences > Compiler and enable “Make project automatically.” The next setting is an IDEA registry setting that … Read more
For me there are two points: Refactorings (IntelliJ is great in the refactorings it provides) Plugin stability, I’ve always found that when I have a stable install of Eclipse, I get a new plugin and everything comes down in flames and I have to reinstall everything.
just open each one from different folder level. For example: Project A has 2 folders (one inside another) and inside the 2nd folder there is code. Then open one instance from folder 1 and another instance from folder 2. Open each instance by choosing open in new window..simple.
The JetBrains website has this covered. Migrating From Eclipse to IntelliJ IDEA The quick answer is an Eclipse Project is equivalent to an IDEA Module. The concept of Project in IDEA is like a Workspace in Eclipse. Edit: Also take a look at the eclipse integration page.
I just tested this in Eclipse with a simple parameterized test that always fails on test #4. One is able to right-click on the failed test and select Run. Only that test then executes. Result: Frustratingly, I can’t see what Eclipse did to solve the problem. Nothing is apparently altered in the run configuration. In … Read more