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.

-1
votes
0answers
7 views

How to extend the functionality in Intellij Idea?

In the IDE I have a standard menu. How can I add a dropdown to make it so? I want to write the selected number in the console before running my application, but I don't know how to do it.
2
votes
0answers
23 views

Cannot debug on a remote raspberry pi using IntelliJ

I am developing a Java application to run it on a raspberry pi. My development environment is IntelliJ with Embedded Linux JVM Debugger plugin installed on a Windows 10 Pro laptop. I can debug the ...
0
votes
1answer
20 views

Unable to figure out how to import opencv properly

So I tried to follow the instruction given from online but none of them has a solution. My Main issue with intellij with import module from existing module. I assume, since import module button is ...
1
vote
1answer
8 views

Intellij, how to use last commit message by default?

The Intellij commit window does not populate with the last commit message, but seems to use some other logic like saving the message that was there when the commit window was exited prematurely. Is ...
0
votes
1answer
11 views

Vue-CLI 3.5 windows + node.js process undefined - environment issue

This has nothing to do with Vue, this is tagged since anyone who started a project via the CLI on a windows machine would find this error. I am using the intelliJ IDE (PHPStorm). in router build, I ...
1
vote
0answers
17 views

How I can use the JavaFX framework?

firstly, I want let you know how useful this community is for me, I was stuck on an error `Error: JavaFX runtime components are missing, and are required to run this application` and thanks to this ...
1
vote
1answer
32 views

How do I change the color of variables in for-loop declarations in IntelliJ IDEA?

I can change the colors of other types of code, including other types of variables, but I don't know the specific name of the variable that appears in for-loop declarations, and I can't find a for-...
0
votes
1answer
18 views

How to import the latest log4j2 from maven in intellij-idea

How can I import the latest log4j2 from maven in intellij-idea? At the time of writing, it's 2.11.2 and it is not in the list when I search for it. I've searched for 'org.apache.logging.log4j' and '2....
0
votes
0answers
15 views

need to solve the following output log error given from basic hello world dart program

I am writing my basic dart program using IntelliJ IDE, and I get the following error for the code shown below. HelloDartVars is my dart file. The code shown below is main.dart file. Upon executing ...
0
votes
0answers
29 views

Intellij IDEA + Kotlin: don't see classes

I created Kotlin project in IDEA. Than, I commited it to github & cloned it to another machine. When I try to run any main function, it posts: Error:Kotlin: [Internal Error] java.lang....
0
votes
0answers
11 views

Is it possible to debug a java project using maven and the debugger in intellij together?

In order to debug my java app I use the debug mode in intellij. The thing is that I run my project using maven command and I wonder if it is possible to run this maven command with the intellij ...
0
votes
1answer
30 views

Added mysql jar to lib but still facing class not found exception on local deployment to tomcat working through intelliJ?

through my application I want to add the username and password to database when a user registers and clicks on "sign up" through "servlet2.java" but on local tomcat deployment instead of adding data ...
9
votes
3answers
129 views

Can a static inner class extend its outer class?

public class Outer { public static class Inner extends Outer { } } It seems to compile with my openjdk8 compiler but IntelliJ 2019.1 complains : Cannot access Outer I think this might be ...
1
vote
0answers
34 views

Lombok is not being recognized in LibGDX project

I'm working on libGDX project and I want to use Lombok. I followed this short tutorial about using lombok in libGDX projects but unfortunately it does not working. Situation looks like this - ...
0
votes
0answers
17 views

Ktor - Quickstart new project from plugin throwing Error

I am using: Kotlin 1.3.3 Ktor plugin 1.2.0 IntelliJ IDEA 2019.1.3 (Ultimate Edition) Build #IU-191.7479.7, built on May 21, 2019 openjdk version "11.0.2" 2019-01-15 - OpenJDK Runtime Environment 18....
0
votes
1answer
15 views

Rubymine: Cannot read from STDOUT after terminating STDIN

In Run or Debug mode, I first write input to the console, which is read by STDIN. I terminate my input with CMD-D (not CTRL-D, see Keyboard Shortcuts https://www.jetbrains.com/help/idea/debug-tool-...
0
votes
0answers
22 views

Cannot define anything in publishing block of build.gradle

I'm trying to create a library and publish it to maven local. When I start trying to add a MavenPublication to publications, the IDE gives it a dotted underline like it's an unresolved reference. Same ...
0
votes
0answers
12 views

how to exclude resources from being copied within Intellij?

When I'm doing a build intellij, I get errors due to emacs creating temporary files that are not able to be packaged Error:Maven Resources Compiler: Failed to copy '... /.#env_app.clj' Is there any ...
2
votes
2answers
28 views

Java with Maven: How to make Module B depend on jar of module A?

Context: The question is regarding a multi-module (maven, not Java 9 modules) Java project using maven for building it, where one module depends on the jar of another module. Overview of the modules ...
2
votes
1answer
19 views

How to add Javascript to IntelliJ

I have problem with add javascript to my editor intellij. It does not detect the syntax of this language completely.
0
votes
1answer
11 views

Shortcut key to auto-complete covering the next word in IntelliJ Ultimate Edition

I am working on IntelliJ for MacOS. I am looking at options to auto-complete where the auto-complete also covers the next word. I know two shortcut keys to auto-complete right now. One is 'Tab' which ...
0
votes
1answer
18 views

How to connect IntelliJ IDEA to my GIT repo?

A weird thing happened. I opened my project in IntelliJ, and the IDE seemed to have access to all the GIT branches although I have not set up the SSH keys to the project and it was the first time it ...
0
votes
1answer
28 views

IDE does not show getters and setters generated by Lombok for a Jackson annotated class

I use Intellij Idea 2019.1.2 community edition for my Java projects. I have a Jackson 2.9.6 annotated POJO which uses Lombok 1.18.0 to generate the getters and setters for the pojo. I have some "...
-1
votes
0answers
10 views

How to Install Maven Plugins with Intellij

I have a few Maven plugins that cannot be installed. My Intellij version is 2018.3. org.apache.maven.plugins:maven-compiler-plugin:3.0 org.apache.maven.plugins:maven-war-plugin:2.2 org.apache.maven....
1
vote
0answers
14 views

Intellij IDEA: JForm preview renders fine, actual app ignores Roboto (font)

I am using the Intellij IDEA to create Swing J Forms in the editor. In the preview of the form, I can see my selected font applied (Roboto), but when I run the app, it doesn´t work (Uses default font)....
0
votes
0answers
10 views

How to import certificates in IntelliJ from bash script on Mac

I trying to find a scriptable solution for importing self signed certificates into IntelliJ on Macs since IntelliJ provides its own storage for trusted certificates? I found the following link but ...
3
votes
2answers
31 views

gitignore file not hide .idea directory for github

I have a project with gitignore file: ### IntelliJ IDEA ### .idea *.iws *.iml *.ipr Temp* RationalValues* https://github.com/hhlTer/quadraticEquation but .idea directory still pushed in my ...
3
votes
1answer
67 views

How does JetBrains create .exe files for their IDE's?

So as far as I'm aware, JetBrains mostly uses Java (swing) for their IDE's. But I noticed all their IDE's have a .exe, so I was wondering, where/how does their JDK gets executed. Especially since the ...
1
vote
2answers
28 views

IntelliJ IDEA - Kotlin: Unresolved reference: eq method

Am using IntelliJ IDEA 2019.1.2 (Ultimate Edition) with Kotlin (kotlinc-jvm 1.3.31) on macOS Mojave 10.14.5. When I created a Kotlin JVM project and added a Kotlin file entitled "Nullability.kt" ...
0
votes
1answer
32 views

Is there a way to navigate through library sources while using IntelliJ + Bazel + Scala?

When using IntelliJ for Scala with the Bazel plugin, you can navigate through your source code by using Ctrl + Click (go to definition), but, if you go to an imported library, you get a decompiled ...
-2
votes
0answers
51 views

How to test boolean method without creating a test class? [on hold]

I'm trying to test boolean method without creating a test class. How can I do that? I'm using Intellij Idea. I saw this trick in the past but I dont rememeber how to do that. My goal is to click on ...
0
votes
1answer
13 views

How do you see, set, and access variables in IntelliJ so that it can be passed from one plug-in to system properties?

Have a GitHub plug-in in IntelliJ. It knows the branch that is being worked on. How would you get that branch name and add it into the system properties used when launching a server in the IDE? ...
0
votes
0answers
20 views

Im getting this error: Error executing script RunApp: org/codehaus/groovy/grails/compiler/GrailsProjectCompiler

My environment variable are fine, I'm using grails 2.3.7 with jdk 1.7 It just don't compile. I already tried to reinstall java, my IDE, tried to run on cmd, tried the command grails -clean Getting ...
0
votes
0answers
11 views

How to satisfy not initialized final field inspection in IntellJ when using @TupleConstructor

When I use @TupleConstructor along with final field declaration in Groovy, I'm getting Variable 'a' might not have been initialized IntelliJ IDEA warning. Is there any way to satisfy IntelliJ so that ...
0
votes
1answer
27 views

Intellij-idea class import

there is a class called "Agent.class" that I wanna use inside of a java source file, and the .class file is in the same location as the .java file. the location is ./my/test/ when I tried to import ...
0
votes
0answers
13 views

Any way to find all usages of Kotlin Synthetic Properties in Android Studio?

I want to nullify all of our references to Kotlin synthetics in an Android project I'm working on. Is there and AS lint inspection or some other Google tool that will allow me to at least find where ...
0
votes
0answers
8 views

How Can I render a Markup Container?

We have some test code but the wicket test fails, because it can not render the MarkUp Container in a html file. Is the any command to let wicket do this? @Test public void testRendering() {...
-4
votes
0answers
29 views

Java 100 module reads package from both x and y

As you can see in the screenshot I'm getting alot of these errors. I have literally no idea why it'd read from two sources. There seems to be no circular dependencies and/or duplicate entries in my ...
0
votes
0answers
28 views

spring boot multi module project intellij and maven issues

I use spring boot to do my rest service in my team. And I use the spring boot multi module project structure as what this github example do. I have some problems here. intellij issue I have one ...
0
votes
1answer
17 views

TSLint - how to avoid that all my code underlined in red?

I loaded an angular project in ItelliJ and all the files have some code underlined in red. The same red colour is on the scrollbar on the right. It seems the code is full of errors, but they are just ...
1
vote
1answer
23 views

How to accommodate classpath user entries from Eclipse to IntelliJ in run configurations

I am trying to migrate to IntelliJ from Eclipse. I have some user entries which are mentioned in the classpath of one of the run configurations in Eclipse. Exactly where/in which option should I ...
-4
votes
0answers
22 views

how to design GUI for java application [on hold]

I'm developing a java application and I have developed the user interface using the designing tool and stored the design in a file having the extension .sketch, but I don't know how to use the file to ...
0
votes
1answer
40 views

Which .jar file in JDK be loaded when one project configure with JDK?

In my IntelliJ IDEA when configure the JDK and choose JDK home for one project then below classpath/jar file will be loaded. But as I know there be some jar file in JDK home path not be loaded, for ...
0
votes
0answers
23 views

Can anyone export this javafx code in IntelliJ?

I have been unsuccessful in exporting this javafx program from exporting correctly. Have attempted numerous times with JAR and Javafx application but always unsuccessful. The furthest I got is ...
0
votes
0answers
28 views

Exception in Application start method with IntelliJ-IDEA

Im trying to work JavaFX with IntelliJ-IDEA. I already set the Scene Builder path, and the requiered JavaFX JARS and libraries but I still get this error that I dont know how to fix. I havent really ...
0
votes
1answer
27 views

Running into compiler error: Exception in Application start method. (This is simple JavaFX program)

My java program doesn't compile and I am simply looking to get to the point where my java program runs the FXML file and simply displays the GUI. I don't know how to get to that point. I used ...
0
votes
0answers
33 views

Characters with the '$' sign have errors when used in paths,i cant fix it

This error occurred when I opened a project with a path of'... xxx. $_api. xxx.'. I clicked 'fix it' and deleted 'api'. It didn't solve the problem. _api. is undefined. Fix it Path variables are ...
0
votes
1answer
9 views

Intellij: parameter names not resolved in code auto-completion

latest Intellij IDE version 2019.1: Attaching javadoc to external dependent jars does not resolve method parameter names. For example, For example, an external jar has class Calculator public class ...
0
votes
2answers
44 views

How can I make Intellj use my environment variables?

My PATH and JAVA_HOME are defined in ~/.bashrc. However, when I launch Intellij from my Favorite icon and then launch a Maven Run Configuration, these variables are not thus defined. f I run the ...
2
votes
2answers
40 views

How to import only one specific compiled .class into a java project

Let's say I have a .class file, which was taken from another library. I, however don't want to include the entire library into the project. So I decided to pull this one specific class out of the .jar ...

http://mssss.yulina-kosm.ru