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
318
votes
10 answers

IntelliJ shows method parameter hints on usage - How to disable it

I am new to IntelliJ and recently updated to IntelliJ-2016.3. In the editor for Java code, it shows the method signature upon usage. How do I disable this feature? Here's an example of a method's signature and its call site: Method call: This…
G.S
  • 10,413
  • 7
  • 36
  • 52
315
votes
6 answers

Disable intellij indexing on specific folder

In my project I have .deploy folder which is created/updated when I deploy my app locally. Is it possible to disable indexing on that folder? Everything slows down whenever I deploy and it's really annoying - I have to wait a few minutes whilist…
Marcin Szymaniuk
  • 3,579
  • 2
  • 19
  • 15
314
votes
2 answers

How to increase the maximum number of opened editors in IntelliJ?

I am building a grails-app with IntelliJ 9.0 and I am a huge fan of the CTR+TAB shortcut that switches between active editors. However, by default, IntelliJ keeps ONLY 10 active editors opened at the same time. It is clearly not enough for me. Do…
fabien7474
  • 16,300
  • 22
  • 96
  • 124
309
votes
7 answers

Class JavaLaunchHelper is implemented in two places

Today I upgraded my Intellij Idea on macOS Sierra, and now, when I run apps in console I have this error: objc[3648]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java…
Ess
  • 3,350
  • 4
  • 12
  • 20
307
votes
16 answers

IntelliJ Organize Imports

Does IntelliJ have an Organize Imports feature similar to that in Eclipse? What I have is a Java file with multiple classes missing their imports. Example: package com.test; public class Foo { public Map map; public JTable table; } In…
Steve Kuo
  • 61,876
  • 75
  • 195
  • 257
303
votes
14 answers

Removing Java 8 JDK from Mac

So I installed the beta of JDK 8 a while ago to look at some of the examples. I thought for sure by now, it's easy to change between versions. Doing some Play development with IntelliJ. For some reason, IntelliJ is compiling with 8 even though: I…
Rob
  • 11,446
  • 7
  • 39
  • 57
302
votes
3 answers

How to search in all the files of a project in IntelliJ Idea?

I'd like to find all occurrences of a particular string in all the code files of a project of mine. Search/replace panels popping up on Ctrl+F/Ctrl+R don't seem to offer to chose the search domain. Is there such a facility available in IntelliJ…
Ivan
  • 63,011
  • 101
  • 250
  • 382
302
votes
9 answers

Ignore a folder in search results

I'm searching for a string and getting matches in a source folder, and a build folder (file in source gets copied to build during build). I do not need the build folder result. Vim has wildignore which helps filter out results. Is there something…
Eric Francis
  • 23,039
  • 31
  • 88
  • 122
300
votes
19 answers

What is Eclipse's Ctrl+O (Show Outline) shortcut equivalent in IntelliJ IDEA?

I like to use Eclipse's shortcut Ctrl + O which outlines the current source. Is there an equivalent shortcut in IntelliJ IDEA? It opens a dialog which allows for quick search of methods and fields in a class.
Boris Pavlović
  • 63,078
  • 28
  • 122
  • 148
297
votes
3 answers

How to create a .jar file or export JAR in IntelliJ IDEA (like Eclipse Java archive export)?

I was using IntelliJ IDEA IDE. I want to create a JAR file from Java compiled class files. But I didn't find a command or file. How to create a JAR file (like it is done in Eclipse)?
sungkwangsong
  • 5,575
  • 4
  • 26
  • 18
297
votes
7 answers

JetBrains / IntelliJ keyboard shortcut to collapse all methods

I'm working on some legacy code that has a class that is 10,000+ lines of code and has 100s of methods. Is there a shortcut for any JetBrains IDE (since the shortcut would likely be shared across all of them) to collapse all the methods / functions…
Brad
  • 6,106
  • 4
  • 31
  • 43
291
votes
18 answers

How do I activate a Spring Boot profile when running from IntelliJ?

I have 5 environments: - local (my development machine) - dev - qc - uat - live - staging I want different application properties to be used for each environment, so I have the following properties files each which have a different URL for…
dleerob
  • 4,951
  • 4
  • 24
  • 36
290
votes
21 answers

What are the most useful Intellij IDEA keyboard shortcuts?

I did a bit of googling hoping to find a post on IDEA shortcuts similar to Jeff's post on Visual Studio shortcuts (Visual Studio .NET 2003 and 2005 Keyboard Shortcuts), but didn't really spot anything that helped. Hopefully the answers to this…
eulerCircuit
  • 2,927
  • 3
  • 17
  • 3
287
votes
11 answers

How do I change the IntelliJ IDEA default JDK?

I use IntelliJ IDEA as my development environment, and Maven for dependency management. I frequently build my project structure (directories, poms, etc) outside of IDEA and then import the project into IDEA using Import project from external model.…
GamerJosh
  • 3,419
  • 3
  • 19
  • 28
285
votes
10 answers

Android Studio: how to remove/update the "Created by" comment added to all new classes?

By default Android Studio automatically adds a header comment to all new classes, e.g. /** * Created by Dan on 11/20/13. */ Where is the setting to customize or remove it?
Dan J
  • 25,433
  • 17
  • 100
  • 173