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
390
votes
6 answers

Is there "Break on Exception" in IntelliJ?

Is there feature that will automatically break debugging on first exception occurrence? So we start application do something that throw exception got IntelliJ popped up highlighted line where exception occurred.
Mike Chaliy
  • 25,801
  • 18
  • 67
  • 105
386
votes
20 answers

Keyboard shortcut for Jump to Previous View Location (Navigate back/forward) in IntelliJ IDEA

I know Ctrl+Shift+Backspace is used to go to the location of the last edit. But I want to jump to whichever location I was most recently at, not necessarily one where I edited anything. For example, if I jumped to a declaration using Ctrl+B, then I…
AnkurVj
  • 7,958
  • 10
  • 43
  • 55
386
votes
17 answers

What is the shortcut in IntelliJ IDEA to find method / functions?

I know that Ctrl + N is to find classes and it is very useful. But what about methods?
Felipe
  • 16,649
  • 11
  • 68
  • 92
369
votes
15 answers

How to prevent open last projects when IntelliJ IDEA starts?

By default IntelliJ IDEA opens the last project when starting. How to start IntelliJ without opening last project?
qwazer
  • 7,174
  • 7
  • 44
  • 69
365
votes
5 answers

WebStorm/PhpStorm double quotes in TypeScript auto import

I'm using TypeScript style with single quotes, double quotes are used exclusively in HTML templates. WebStorm/PhpStorm auto import adds import statements with double quotes and ruins the style. I guess this applies to all JetBrains products. How can…
Estus Flask
  • 206,104
  • 70
  • 425
  • 565
365
votes
41 answers

Things possible in IntelliJ that aren't possible in Eclipse?

I have heard from people who have switched either way and who swear by the one or the other. Being a huge Eclipse fan but having not had the time to try out IntelliJ, I am interested in hearing from IntelliJ users who are "ex-Eclipsians" some…
Epaga
  • 38,231
  • 58
  • 157
  • 245
360
votes
31 answers

Error: Unfortunately you can't have non-Gradle Java modules and > Android-Gradle modules in one project

I have an IntelliJ 14.1.2 Project consisting of two modules - one is an Android Gradle based module and the other is a Spring Java-based module with Maven. gps-trackman.v1 is my root project and I've not configured any outputs or facets for this…
kamokaze
  • 7,142
  • 5
  • 33
  • 43
360
votes
13 answers

How to increase IDE memory limit in IntelliJ IDEA on Mac?

I'm using IDEA 12 Leda on Mountain Lion. I wanted to increase the maximum memory that IDE can use. I set the VMOptions in Info.plist file to be -Xmx2048m -ea -XX:+HeapDumpOnOutOfMemoryError -Xverify:none -Xbootclasspath/a:../lib/boot.jar When I open…
woodings
  • 7,503
  • 5
  • 34
  • 52
352
votes
9 answers

How to count lines of Java code using IntelliJ IDEA?

How to count lines of Java code using IntelliJ IDEA?
Gary
  • 6,357
  • 5
  • 30
  • 36
348
votes
7 answers

How to change line width in IntelliJ (from 120 character)

I was wondering how I can change the line length in IntelliJ. Since I use a pretty high resolution, I get that line that shows 120 characters straight through the middle of the screen. Can I change it from 120 to, say, 250?
user3685412
  • 4,057
  • 3
  • 16
  • 16
346
votes
11 answers

File size exceeds configured limit (2560000), code insight features not available

I am trying to work on a large Javascript file in Jetbrains WebStorm 8 and I am getting a message at the top of the editing window that says: File size exceeds configured limit (2560000). Code insight features not available. How can I increase the…
Flash
  • 15,945
  • 13
  • 70
  • 98
338
votes
7 answers

Intellij Idea: Importing Gradle project - getting JAVA_HOME not defined yet

Intellij Idea 14.1.4 Mac OS X Yosemite 10.10.3 and later. From the IDE: Import Project -> (Chosen directory to import) -> Import project from external model, Gradle -> Gradle Home: /usr/local/Cellar/gradle/2.4/libexec Gradle JVM: Use JAVA_HOME (not…
bentobox
  • 3,948
  • 2
  • 16
  • 10
325
votes
52 answers

Maven plugins can not be found in IntelliJ

After updating IntelliJ from version 12 to 13, the following Maven-related plugins cannot be…
Spring
  • 11,333
  • 29
  • 116
  • 185
322
votes
7 answers

Intellij shortcut to convert code to upper or lower case?

What is the Intellij shortcut to convert code to upper or lower case?
Marcus Leon
  • 55,199
  • 118
  • 297
  • 429
319
votes
13 answers

IntelliJ IDEA generating serialVersionUID

How do generate this value in IntelliJ IDEA? I go to Settings -> Errors -> Serialization issues -> Serializable class without ‘serialVersionUID’, but it still doesn't show me the warning. My class PKladrBuilding parent implements interface…
user1679671