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
43,883
questions
1388
votes
21
answers
322k
views
How can I permanently enable line numbers in IntelliJ?
How can I permanently enable line numbers in IntelliJ IDEA?
966
votes
26
answers
521k
views
Error:java: javacTask: source release 8 requires target release 1.8
Using IntelliJ IDE can't compile any projects. Screenshots of settings below:
Used JDK:
Project SDK and Language level:
Language Level:
Anybody have any ideas?
919
votes
14
answers
1.3m
views
Correct way to add external jars (lib/*.jar) to an IntelliJ IDEA project
When creating a new Java project in IntelliJ IDEA, the following directories and files are created:
./projectname.iml
./projectname.ipr
./projectname.iws
./src/
I want to configure IntelliJ IDEA to ...
857
votes
14
answers
344k
views
IntelliJ: Never use wildcard imports
Is there a way to tell IntelliJ never to use wildcard imports?
Under 'Settings > Code Style > Imports', I can see that you can specify the 'class count' prior to IntelliJ using wildcard imports. ...
787
votes
38
answers
272k
views
Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6
When trying to run the Example CorDapp (GitHub CorDapp) via IntelliJ, I receive the following error:
Cannot inline bytecode built with JVM target 1.8 into bytecode that is
being built with JVM target ...
783
votes
66
answers
831k
views
IntelliJ inspection gives "Cannot resolve symbol" but still compiles code
Platform: IntelliJ Community Edition 10.0.3
SDK: jdk1.6.0_21
OS: Windows 7
So I have a strange situation with IntelliJ that has me completely stumped. I setup a Maven project and add log4j as a ...
706
votes
15
answers
620k
views
What to gitignore from the .idea folder?
Possible Duplicate:
Intellij Idea 9/10, what folders to check into (or not check into) source control?
I started using WebStorm for web development and am not sure what to add and what to exclude ...
680
votes
22
answers
190k
views
IntelliJ show JavaDocs tooltip on mouse over
In Eclipse, when hovering over a method, variable, etc. a tooltip is displayed with the corresponding JavaDocs. Is there such a feature in IntelliJ?
679
votes
18
answers
1.3m
views
How to clear gradle cache?
I'm trying to use Android Studio, and the first time I boot it up, it takes like 45 MINUTES to compile... If I don't quit the application, it is okay - each subsequent compilation/running the app will ...
671
votes
24
answers
919k
views
How to build JARs from IntelliJ IDEA properly?
I have a project that contains a single module, and some dependencies.
I'd like to create a JAR, in a separate directory, that contains the compiled module. In addition, I would like to have the ...
650
votes
15
answers
417k
views
Search all the occurrences of a string in the entire project in Android Studio
I've just started using Android Studio (IntelliJ), and I now look for the feature to find the occurrence of a string in any of the files in my project. For example: I want to find all the files that ...
567
votes
75
answers
694k
views
"Default Activity Not Found" on Android Studio upgrade
I upgraded IntelliJ IDEA from 12.0.4 to 12.10.
Now all the modules in my Android project give the error:
Error: Default Activity Not Found
I reverted back to 12.0.4 and it everything works again.
...
566
votes
44
answers
500k
views
IntelliJ does not show project folders
I have an issue with IntelliJ. It doesn't show any folders in my project view on the left.
My setting is "View As: Project"
How can I manage it so that the folders and packages are shown again?
I don'...
552
votes
6
answers
51k
views
How do I turn off the unlimited whitespace in IntelliJ editor?
How do I remove the ability to move the cursor after the end of line in IntelliJ?
547
votes
5
answers
197k
views
Can IntelliJ IDEA encapsulate all of the functionality of WebStorm and PHPStorm through plugins? [closed]
I am in the market for a new IDE but am confused about the overlap between some of Jetbrains' offerings. It looks like IntelliJ IDEA has plugins that allow you to do Node.js and php development.
Can ...