Questions tagged [intellij-15]

Use this when developing with the IntelliJ IDEA 15 IDE for Java.

IntelliJ is the newest of the JetBrains IntelliJ IDEA Java IDE family.

This adds many new features, such as lambda debugging, force return, and an improved UI.

Learn more at What's new in IntelliJ IDEA 15.

191 questions
2
votes
1 answer

IntelliJ IDEA: Find usage warning

When I want to find usage of a method, IDEA is always asking if I also want to find the base method. Is it possible to configure somewhere I always want to perform this ?
Rexave
  • 367
  • 1
  • 3
  • 15
2
votes
2 answers

How to setup a live template in intellij for a new file extension

I have a new customized file type with new file extension and I want to setup some Live Templates for that file type, Does anyone know how to do that?
2
votes
1 answer

Gradle refresh in IntelliJ changes language level of modules

I have a Gradle project that consists of an Android library module and a plain old Java module. (The Android library module has a dependency on the plain Java module.) In the build.gradle file of the Android library module I have this: android { …
Adil Hussain
  • 30,049
  • 21
  • 112
  • 147
2
votes
2 answers

Error during sbt execution: No Scala version specified or detected

I am using following environment. windows 7 32 sbt.version = 0.13.8 Scala 2.11.8 i can't run even a single sbt command from command prompt. i am sending error with attachment. please kindly check the attachment. kindly suggest me any solution…
Humayoo
  • 698
  • 9
  • 29
2
votes
1 answer

Intelij -d option doesn't work

I have a directory structure like this (I've created classes directory and added -d classes to the compiler options): But when I hit compile 'BeerSelect.java' I got: Intelij has created out directory and omitted my request about using classes…
user3529850
  • 1,632
  • 5
  • 32
  • 51
2
votes
2 answers

How does one enable Infinitest on a gradle project in IntelliJ IDEA 15?

According to the Infinitest User Guide, after installing the Infinitest plugin in IntelliJ IDEA, you're supposed to be able to right click your project and "choose facet, add Infinitest". However, there is no "facet" option in my project's context…
voxoid
  • 1,164
  • 1
  • 14
  • 31
2
votes
0 answers

intellij run vs debug configuration has different args input parameter

Intellij 15.0.3 Main class: xxx.project.Boot VM args: -cp xxx.jar -Dxxx.work.dir=yyy xxx.project.Boot Program arguments: dump_args Project Code public static void main (String[] args) Throwable { // first line in the Main entry point of the…
jackluo923
  • 105
  • 1
  • 7
2
votes
0 answers

intellij oracle database integration init scripts

For oracle databases, I'm interested if intellij (as of idea-15.0.3) database integration has a feature similar sqlplus' auto-running glogin.sql/login.sql/SQLPATH, etc. Is there a good way in IDEA (or a plugin) to run some initialization scripts…
alexgibbs
  • 2,430
  • 2
  • 16
  • 18
2
votes
3 answers

Java Scanner class, nothing displayed

I'm new in Java, and i can't figure out why this code doesn't work (no error but nothing displays on the console). Thanks import java.util.Scanner; public class HelloWorld { public static void main(String[] args) { Scanner sc = new…
Addon
  • 75
  • 1
  • 1
  • 9
2
votes
0 answers

Intellij's javaFX scene builder not working

When I open .fxml file in IntelliJ IDEA 15 and swich to the SceneBuilder tab, I allways get an error page. I have checked a path to the SceneBuilder app and it is valid. I also can run the Scene Builder app without any problems. Can someone help me…
David Novák
  • 1,455
  • 2
  • 18
  • 30
2
votes
2 answers

Unindex maven repository https://repo.grails.org/grails/core in Intellij with Grails 3.0

I am using IntelliJ IDEA 15.0.1 and I am trying to create a Grails 3.0 application and ran into issues. While trying to create a Grails 3.0 project I get the following. After doing what it does I also noticed that the Grails Tool Window is on the…
Viriato
  • 2,981
  • 7
  • 40
  • 54
2
votes
1 answer

Play Framework compiles error in IDEA

Mac platform, activator is 1.3.6, and use IDEA 15 CE. I create a new Play-Java project with "activator new", and can be compiled with "activator compile". but when I import the project into IDEA, choosing SBT, and I cannot make the project. The…
Sartrev
  • 41
  • 3
2
votes
5 answers

intellij idea 15.0 cannot see lombok annotations

I've upgraded my IntelliJ Idea to v. 15.0 Lombok plugin is installed and enabled, annotation processing is also enabled. But compiler still doesn't see annotations. What are possible solutions for this problem?
1
vote
0 answers

Restart IntelliJ from command line - linux

Is there a way I can force restart IntelliJ from command line? To normally start, I'm using cd bin/ ./idea.sh
Lavish Kothari
  • 2,211
  • 21
  • 29
1
vote
1 answer

How to let plugin access file in resource folder of any project where it runs

I have created a plugin. It needs to access 2 files from res folder. Now the trick here is, res folder is not inside plugin. For example, i have published plugin locally, so it now visible under any project you create, inside Tools Menu. What i want…
Ankit Ostwal
  • 1,033
  • 3
  • 14
  • 32