Problem: At times intellij is unable to identify classes even though you would have added respective jars in maven or gradle project. Solution: Try one of these solutions. Invalidate caches : Re-import dependencies and build project again. Remove all intellij specific files and re-import the project Check your pom or gradle file is not excluded Published on Java Code Geeks ...
Read More »Home »
Best IntelliJ IDEA Plug-ins
I’ve been using Intellij Idea as IDE for some time and wanted to share my favorite plug-ins as I think they can be quite useful for every developer out there. Without a specific order here they are: Key Promoter X: Although its name’s like cheap midi controller, it is a really useful plug-in for those who want to master intellij ...
Read More »Kotlin / IntelliJ quick hint: Operator navigation
This is just a quick hint if you are programming Kotlin with IntelliJ: In IntelliJ you can ctrl-click on operators to navigate to the operator definition (similar to ctrl-clicking on methods). This also works for the get operator (you can click on the [] brackets) and for ranges (you can click on the dots (..) between the start and end ...
Read More »IntelliJ’s text based HTTP client
IntelliJ provides a HTTP client that is purely text based. While this might sound strange at the beginning it turns out that this is a very useful feature. Getting started First we need to create a file whose name ends with .http or .rest. For example: my-requests.http. To issue a simple GET request we have to write down the request ...
Read More »Using IdeaVim with IntelliJ
I’ve been a VIM user for a few years and I’m also using the IdeaVim plugin in IntelliJ. The following configuration and features helped me a lot. You can configure the same keymappings that you have in your regular VIM in the ~/.ideavimrc file.Setting idearefactormode to keep makes the behavior of refactorings such as renamings more deterministic.In a dialog hitting ...
Read More »How to add maven Support to a Java Project in IntelliJ
Hello Friends In this quick tutorial, we will see how we can add Maven support to the java project in IntelliJ. If we have a non-Maven Java project or maven project which we have just cloned in IntelliJ and we don’t see the Maven tab on the extreme right side of IntelliJ , from where we can maven build our ...
Read More »OfficeFloor IntelliJ Plugin
OfficeFloor is now available to develop within IntelliJ. While the plugin was originally developed for Eclipse, we have now isolated the functionality into IDE agnostic bundle. This means with a bridging implementation, it is possible to port the OfficeFloor plugin to other IDEs. However, for now we are content with Eclipse and IntelliJ for OfficeFloor development. Though if you would ...
Read More »Memory Efficient: Eclipse vs IntelliJ (Android Studio)
Eclipse and IntelliJ are the two competing IDEs in the industry. There are lot of passionate discussion going in the social media, forums to declare the winner in this race. We thought it would be a fun exercise to study which IDE utilizes memory efficiently? Study To conduct this study, we used Eclipse Java EE Oxygen Release Milestone 2(4.7.0 M2) and ...
Read More »How to Format a Large Code Base Automatically
If you introduce code formatting rules retroactively, you have to solve the problem how to format existing code base according to the new formatting rules. You could checkout every code repository one by one in your IDE and click on Autoformat the whole project. But this is boring and waste of time. Fortunately, Intellij IDEA has a format CLI ...
Read More »