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
25
votes
4 answers

Find usages of primary constructor of a Kotlin class

Imagine you have a super important and widely-used class in your Kotlin-based project. It has the only constructor which is defined like that: class MyAwesomeManager(argOne: String, argTwo: String) For some reason, you need to quickly find all uses…
AlexeyGorovoy
  • 760
  • 5
  • 23
25
votes
3 answers

Convert Java Project to Gradle Project in Intellij

I have a very basic java project. In Eclipse there is an option to convert a project to a maven project all you have to do is right click on the java project and click "Convert to Maven Project". So basically it creates a pom.xml file for you. Does…
otc
  • 694
  • 1
  • 9
  • 40
25
votes
4 answers

How to show Android Gradle Plugin update dialog again

I've updated Android Studio and the dialog for Gradle Plugin update appeared. I've accidentally clicked Don't show again for this project. How can I display the dialog again?
Pitel
  • 5,334
  • 7
  • 45
  • 72
25
votes
3 answers

Is IntelliJ Python 3 inspection "Expected a dictionary, got a dict" a false positive for super with **kwargs?

I use Python 3 and want to wrap argparse.ArgumentParser with a custom class that sets formatter_class=argparse.RawDescriptionHelpFormatter by default. I can do this successfully, however IntelliJ IDEA 2017.1 with Python Plugin (PyCharm) gives a…
jan
  • 2,741
  • 4
  • 35
  • 56
25
votes
3 answers

NoClassDefFoundError after IntelliJ IDEA upgrade

Recently I created a new project using IntelliJ IDEA and Gradle for dependency management. After resolving all the dependencies needed by the project and running it I get the following error: java.lang.NoClassDefFoundError:…
Adrian Jałoszewski
  • 1,695
  • 3
  • 17
  • 33
25
votes
3 answers

Mark Gradle source folder as test source in IntelliJ

I have an integration test source folder set up in gradle like so: subprojects { apply plugin: 'java' apply plugin: 'idea' sourceCompatibility = 1.8 configurations { integrationTestCompile.extendsFrom testCompile …
Jorn
  • 20,612
  • 18
  • 79
  • 126
25
votes
4 answers

How to show(unfold) the hidden(folded) code in Intellij-IDEA with keyboard shortcut?

How can I show(unfold) the hidden(folded) code in IntelliJ IDEA, as shown in the picture below, just using keyboard without touching the mouse?
tri
  • 361
  • 3
  • 6
25
votes
4 answers

Intellij (or other) - Possible to see a graph/tree of all calls made in Java?

I'm working on a project in Intellij Ultimate 14. I'm not looking to do a live debugging of the application to trace calls. The time it would take to follow all code paths would be insane. I'm hoping that Intellij has some kind of analysis tool that…
user1017413
  • 2,023
  • 4
  • 26
  • 41
25
votes
6 answers

intellij feature (...) not supported at this language level. I can't compile

IntelliJ is showing me this error I just built my new computer and none of my java stuff is working... My regular Intellij was working when I first tried it, but my android studio would't install because it couldn't find the path to the jdk. Here is…
Seth G.
  • 427
  • 1
  • 4
  • 8
25
votes
3 answers

Debugging in IntelliJ (Reloading changed classes)

I recently switched from eclipse to IntelliJ. Eclipse's debug launcher used to reload the application instantly, whenever a class was saved. IntelliJ takes more than 10 secs to reload changed classes, which might not be a lot, but it is annoying…
kr15hna
  • 529
  • 1
  • 5
  • 12
25
votes
10 answers

Scala Compiliation error with intellij

I'm trying to compile a mixed java-scala code using intelliJ 14.1.4 but it keeps giving me this error: Error Compiling SBT component 'compiler-interface-2.9.2-52.0' I have tried to down grade my scala-compiler version but this didn't helped. any…
vlady
  • 477
  • 1
  • 7
  • 14
25
votes
4 answers

How to open a terminal via intellij in the selected folder

I want to right click on a file in intellij and open the terminal there in mac. I tried 'External Tools' but doesn't open the terminal in the selected directory even though I set $FileDir$ as the working directory of that tool
Salil Surendran
  • 2,245
  • 4
  • 27
  • 42
25
votes
6 answers

How to create a JavaFX Maven project in IntelliJ IDEA?

How can I open a JavaFX Maven project from scratch in IntelliJ IDEA? As there is no difference between a Java project and a JavaFx project, I want to open a dedicated JavaFX project (Selection JavaFX from create project Wizard) with Maven module…
fatCop
  • 2,556
  • 10
  • 35
  • 57
25
votes
3 answers

`-Dmaven.multiModuleProjectDirectory not set` issue with Maven and IntelliJ

I've spent quite some time trying to figure out what I'm doing wrong and hoping someone may be able to help. My current setup is running Maven 3.3.3 (via homebrew) and Java 1.8. IntelliJ 13 is the IDE of choice. Running mvn -version results in the…
null
  • 3,469
  • 7
  • 41
  • 90
25
votes
2 answers

How do I install Android Studio into IntelliJ?

Now that Android Studio is out is it possible to install it into IntelliJ Ultimate? I opened the Preferences > Plugins screen. This is what I see: I don't remember installing Android Support at all. Also, all the plugins were selected when I…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
1 2 3
99
100