tagged [intellij-idea]

How do you synchronise projects to GitHub with Android Studio?

How do you synchronise projects to GitHub with Android Studio? I am trying to synchronise a project that I have on in my Android Studio folder to GitHub, but I am not fully sure what to do other than ...

What is the IntelliJ shortcut key to create a javadoc comment?

What is the IntelliJ shortcut key to create a javadoc comment? In Eclipse, I can press ++ and get a javadoc comment automatically generated with fields, returns, or whatever would be applicable for th...

How can I make IntelliJ IDEA update my dependencies from Maven?

How can I make IntelliJ IDEA update my dependencies from Maven? When I manually add dependencies in the of my project, let download the dependencies and let build the module, complains about missing l...

31 Dec at 08:23

Error:java: javacTask: source release 8 requires target release 1.8

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: [](https://i.stack.imgur.com/cpggk.png) Proj...

24 Apr at 08:16

IntelliJ how to zoom in / out

IntelliJ how to zoom in / out The IntelliJ keymap says: But they have no effect. Anyone have this working? New info: Now I have added more key-bindings: But these still have no effect. Does zoom in/zo...

22 Dec at 15:40

Gradle - Could not target platform: 'Java SE 8' using tool chain: 'JDK 7 (1.7)'

Gradle - Could not target platform: 'Java SE 8' using tool chain: 'JDK 7 (1.7)' I am trying to import Gradle project in Intellij Idea with local Gradle distrib and getting stacktrace with the followin...

16 May at 08:13

Setting up and using environment variables in IntelliJ Idea

Setting up and using environment variables in IntelliJ Idea I set up an environment variable (Under `IDE Settings -> Path Variables`) One of my tests is failing however with With It does not l...

24 Aug at 20:36

How to add files/folders to .gitignore in IntelliJ IDEA?

How to add files/folders to .gitignore in IntelliJ IDEA? I try to switch from Eclipse to IntelliJ IDEA. I have a project that uses Git and I want to quickly add files to file. In Eclipse I can right c...

6 Sep at 14:8

JAVA_HOME should point to a JDK not a JRE

JAVA_HOME should point to a JDK not a JRE I am trying to set up maven for my project and I am getting this error "JAVA_HOME should point to a JDK not a JRE" I know there are already similar question b...

13 Mar at 09:42

What are the most useful Intellij IDEA keyboard shortcuts?

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 a...

15 Dec at 15:55

IDEA 10.5 Command line is too long

IDEA 10.5 Command line is too long In Maven project when I run test case (on Windows): > Error running TestApp.readParameter: Command line is too long. In order to reduce its length classpath file can...

4 Aug at 16:19

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

Keyboard shortcut for Jump to Previous View Location (Navigate back/forward) in IntelliJ IDEA I know ++ is used to go to the location of the last edit. But I want to jump to whichever location I was m...

3 May at 22:2

How to configure "Shorten command line" method for whole project in IntelliJ

How to configure "Shorten command line" method for whole project in IntelliJ When I run tests I get the error "Command line is too long". It works if I set the "Shorten command line" method in the Run...

27 Nov at 04:3

Java file outside of source root intelliJ

Java file outside of source root intelliJ I have cloned a spring boot project from GitLab having multiple branches in IntelliJ. I checkout to the branch in which I want to work. But I am getting "Java...

21 Aug at 10:53

How to add directory to classpath in an application run profile in IntelliJ IDEA?

How to add directory to classpath in an application run profile in IntelliJ IDEA? I'm trying to add a directory to the classpath of an application run profile If I override by using -cp x:target/class...

21 Jun at 21:24

Lombok added but getters and setters not recognized in Intellij IDEA

Lombok added but getters and setters not recognized in Intellij IDEA I am using IntelliJ IDEA on ubuntu. I added into my project and installed the Lombok plugin for IDEA. I have access to the annotati...

17 Jul at 06:5

intellij incorrectly saying no beans of type found for autowired repository

intellij incorrectly saying no beans of type found for autowired repository I have created a simple unit test but IntelliJ is incorrectly highlighting it red. marking it as an error No beans? ![enter ...

Android studio Error "Unsupported Modules Detected: Compilation is not supported for following modules"

Android studio Error "Unsupported Modules Detected: Compilation is not supported for following modules" I am using Android studio 1.0.1. I have a java module referred by other modules in my project. I...

IntelliJ does not show project folders

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 folde...

19 Jan at 18:33

Use IntelliJ to generate class diagram

Use IntelliJ to generate class diagram How do I get IntelliJ 10.5 (on the Mac) to generate a class diagram showing all of the classes in my project? I'm sure I'm overlooking something obvious, but I c...

20 Jan at 14:19

How to view the list of compile errors in IntelliJ?

How to view the list of compile errors in IntelliJ? I am looking for a way to view all compile errors in IntelliJ, similar to how they are displayed in Eclipse. I tried searching here and Google but h...

14 Oct at 16:37

IntelliJ - show where errors are

IntelliJ - show where errors are Is there a way to make IntelliJ mark error locations continuously for the files you are working on in the similar manner as Eclipse does? At the moment I need to make ...

21 Apr at 16:25

Autocompletion of @author in Intellij

Autocompletion of @author in Intellij I'm migrating from Eclipse to Intellij Idea. One thing I couldn't figure out yet is autocompletion of the `@author` JavaDoc tag. When typing `@a` in Eclipse, ther...

11 Sep at 09:8

IntelliJ IDEA "cannot resolve symbol" and "cannot resolve method"

IntelliJ IDEA "cannot resolve symbol" and "cannot resolve method" What are common causes for IntelliJ IDEA not being able to resolve built-in JVM types and methods? For example, when I mouse over `Str...

21 Nov at 02:20

Why so red? IntelliJ seems to think every declaration/method cannot be found/resolved

Why so red? IntelliJ seems to think every declaration/method cannot be found/resolved I just installed and re-installed IntelliJ. Every Java file is coming up RED. I checked the JDK; it is at 1.6.##. ...

10 Mar at 21:9