Skip to main content
The 2024 Developer Survey results are live! See the results

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.

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?
user avatar
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?
Hobbyist's user avatar
  • 16.2k
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 ...
knorv's user avatar
  • 49.8k
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. ...
digiarnie's user avatar
  • 23k
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 ...
Joel's user avatar
  • 23.1k
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 ...
Kevin Sitze's user avatar
  • 8,250
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 ...
Borek Bernard's user avatar
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?
Steve Kuo's user avatar
  • 62.7k
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 ...
David T.'s user avatar
  • 23.1k
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 ...
kramer65's user avatar
  • 52.8k
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. ...
Saad Farooq's user avatar
  • 13.3k
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'...
Alex's user avatar
  • 9,138
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?
Joshua's user avatar
  • 26.6k
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 ...
mr.freeze's user avatar
  • 14k

15 30 50 per page
1
2 3 4 5
2926