Questions tagged [intellij-idea]

IntelliJ IDEA is an IDE by JetBrains. It primarily supports Java development, but also supports JavaScript, Groovy, HTML, CSS, RSS, R, Haskell, PHP, Ruby, Python, Scala, Swift, Clojure, Kotlin, Hybris, Gradle and others. Questions specifically concerning usage and problems in both Community and Ultimate Editions should use this tag. However, if you have a problem with something else and just happen to be using IntelliJ, please don't use this tag.

IntelliJ IDEA is an IDE by JetBrains. It is often simply referred to as "IDEA" or "IntelliJ". First released in 2001, it is mostly focused on boosting the developer's productivity, providing a wide set of automated refactorings to ease evolutions of the codebase.

Its rich plugin development API can be used to add almost any type of functionality, including support of new languages and frameworks, and has been used to provide VCS integration (Git, CVS), build management (Maven, Gradle, Ant), database tools and support for Spring and JEE application servers.

The Ultimate (commercial) version of the tool offers support for enterprise-class development, while the open-source (free) version is often used for Android, Groovy, Scala, and web development. A 30-day, fully functional trial of the Ultimate Edition for various platforms can be downloaded for free.

Questions about how to use IntelliJ and problems you may be experiencing with it are all welcome. However, if you're using IntelliJ but your problem seems to be with something else then you probably don't need to use this tag.

Useful links

Related tags

Old version tags

The list of version specific old tags. Most of 'em seem to be obsolete and could be rolled into the current one or removed.

42912 questions
280
votes
7 answers

How do I set up IntelliJ IDEA for Android applications?

How do I set up IntelliJ IDEA for Android applications?
Yochai Timmer
  • 48,127
  • 24
  • 147
  • 185
279
votes
35 answers

git with IntelliJ IDEA: Could not read from remote repository

Since a few weeks, I'm not able to pull or push from or to the remote repository. I thought it happend when upgrading to IntelliJ IDEA 14, but I can reproduce the problem with IDEA 13.1.5 as well. The tooltip says "Fetch failed fatal: Could not read…
stuXnet
  • 4,309
  • 3
  • 22
  • 31
277
votes
45 answers

Can't compile project when I'm using Lombok under IntelliJ IDEA

I'm trying to use Lombok in my project that I'm developing using IntelliJ IDEA 11. I've installed 3rd-party plugin for IDEA and it seems working fine because IDEA sees all autogenerated methods/fields. So I have a class that uses Slf4j. I annotated…
expert
  • 29,290
  • 30
  • 110
  • 214
276
votes
30 answers

How to increase code font size in IntelliJ?

I tried doing it via Appearances as shown, but this seems to not affect code font or size How can this be done please?
James Raitsev
  • 92,517
  • 154
  • 335
  • 470
275
votes
15 answers

Android Gradle Apache HttpClient does not exist?

I am trying to convert an IntelliJ project to the Gradle system of Android Studio but I am running into errors with Apache HttpClient? Am I missing something, the errors I am getting are as follows: Error:(10, 30) error: package…
Apqu
  • 4,880
  • 8
  • 42
  • 68
274
votes
5 answers

Attach IntelliJ IDEA debugger to a running Java process

Is it possible to attach the IntelliJ IDEA debugger to a running Java process? If yes, how?
Marco
  • 3,337
  • 2
  • 19
  • 25
271
votes
13 answers

Disable spell checking on IntelliJ IDEA

I'm trying to disable spell checking in MacOS's IntelliJ IDEA version 8.1. How can I disable it?
cl123
267
votes
8 answers

Jump to editor shortcut in Intellij IDEA

I can use F12 to jump to project tree (if it was the last tool that I used), but is there a shortcut for jumping back to editor?
Flashrunner
  • 2,874
  • 2
  • 14
  • 12
267
votes
3 answers

How to navigate through the source code by parts in CamelCase (instead of whole words)?

I remember when I was using Eclipse that when holding CTRL and using left or right arrows Eclipse would navigate over the LongCamelCaseWrittenWord in several steps. One camel case word at time. So it will go like follows (pipe | represents the…
Jan Zyka
  • 17,460
  • 16
  • 70
  • 118
266
votes
14 answers

Cannot ignore .idea/workspace.xml - keeps popping up

Using PHPStorm, I am trying to ignore the workspace.xml which pops up every-time I try to make a git commit. My .gitignore looks like: /.idea/ .idea/workspace.xml Because at a point the file was committed, I've also executed: git rm --cached…
Valentin Despa
  • 40,712
  • 18
  • 80
  • 106
264
votes
24 answers

IntelliJ: Error:java: error: release version 5 not supported

I'm using IntelliJ IDEA Ultimate 2019.3.1. Whenever I try to start any simple Java Maven project (may it be even a simple Hello World) I get the following error: Error:java: error: release version 5 not supported Running java --version by terminal…
Robb1
  • 4,587
  • 6
  • 31
  • 60
264
votes
11 answers

Lombok annotations do not compile under Intellij idea

I've installed the plugin for intellij idea(lombok-plugin-0.8.6-13). Added lombok.jar into classpath I can find getters and setters in the window of structure. And Intellij shows no error. Setting - Lombok plugin - Verified Intellij configuration…
yurnom
  • 2,641
  • 2
  • 12
  • 4
260
votes
50 answers

intellij incorrectly saying no beans of type found for autowired repository

I have created a simple unit test but IntelliJ is incorrectly highlighting it red. marking it as an error No beans? As you can see below it passes the test? So it must be Autowired?
Robbo_UK
  • 11,351
  • 25
  • 81
  • 117
258
votes
10 answers

How to configure "Shorten command line" method for whole project in IntelliJ

When I run tests I get the error "Command line is too long". It works if I set the "Shorten command line" method in the Run/Debug configuration to "JAR manifest" for the specific method or class, but how do I set it for the whole project or is…
momo
  • 2,723
  • 2
  • 11
  • 10
253
votes
38 answers

Why does IntelliJ give me "Package doesn't exist" error?

I'm trying to use the barbecue barcode printing library. I have successfully added the library to IntelliJ through project structure add library. Then I imported the packages and wrote the methods, which gave me no error. The packages were…
Tika
  • 2,573
  • 2
  • 12
  • 10