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
8
votes
4 answers

Intellij IDEA can not find tools.jar

I install Intellij IDEA 15.0.2 on Windows 8.1, run it, it asked for the path to jdk, i choose directory with JDK, and then IDEA worked correctly. But after reload of PC, I get this error message from IDEA - 'tools.jar' seems to be not in IDEA…
will_hunting
  • 313
  • 2
  • 5
  • 14
7
votes
1 answer

LibGDX keeps giving me this error: "ERROR BAD LOGIC GAMES", how do I fix this?

trying to get libgdx working on intellJ, but I keep getting this error, with an image that says bad logic games. I have already assign the working directory to the core/assets folder, but I am completely lost on what to do. 11:09:44 AM: Executing…
7
votes
1 answer

Gradle can't compile with java 1.8

i have started having a problem with my project. Whenever I set source and target capability in my build.gradle file to java version 1_8 my project can't compile. Heres build.gradle code buildscript { repositories { jcenter() } …
Inkognito
  • 224
  • 1
  • 2
  • 10
7
votes
2 answers

How do I do an automatic git push in IntelliJ 15?

Currently, I work on a team that does trunk based development. We moved the project from SVN to GIT recently, which requires me to do a push after every commit (Ctrl+K followed by Ctrl+Shift+K). Is there a way to configure IntelliJ to push changes…
Wojtek
  • 1,410
  • 2
  • 16
  • 31
7
votes
2 answers

Cannot Start Compiler: The SDK is not specified in IntelliJ

I get the error when clicking on the run button that says cannot compiler and I set it to JDK 1.8 in the SDK part but still get the same error in IntelliJ Ultimate. Any thought how this can be fixed?
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
7
votes
2 answers

What is root-build in intellij?

Whenever I create an sbt project in intellij, I get something like this: What is root-build here, and why is it labeled as "sources root"?
qed
  • 22,298
  • 21
  • 125
  • 196
6
votes
1 answer

IntelliJ live template for logging a selected variable in js

I would like to add a new line right after the line where I selected a variable name. This line should than contain the selection. Example: var variable = getValue(); I select the word "variable", press CMD+J to apply a live template or CMD+Alt+T…
Patte
  • 73
  • 5
6
votes
1 answer

How can i make intellij select the code completion suggestion without me having to navigate to it?

I am using IntelliJ IDEA 15.0.6 with the Ruby plugin. I noticed that when i write in java, the code completion popup automatically highlights the first suggestion like so - this allows me to just press "enter" in order to complete the word and…
5
votes
2 answers

Scala does not read file from resources folder

Why does the following not read the war-and-peace.txt file from the resources folder? The folder structure in my project is the standard Scala structure that is created be Intellij. For some reason it only reads this file when I put it in the…
rapt
  • 11,810
  • 35
  • 103
  • 145
5
votes
0 answers

not able to view pdf files in IntelliJ IDE

PDF files are not opening in IntelliJ 15.Although i got the associated file application set up in the Mac OSX. The files are not getting viewed. I tried to change the application associated from Mac's default "preview" to Adobe reader but still…
Sasi Kathimanda
  • 1,788
  • 3
  • 25
  • 47
5
votes
1 answer

setting up TypeScript unit tests with Mocha

I am trying to organize a new typescript project that has unit tests, also written in TS, running in the Mocha test runner. My project with the following directory convention: /project/src/ for server-side code (java) /project/test/ …
mcverry
  • 235
  • 1
  • 3
  • 8
5
votes
3 answers

Drag n' drop file move in project window not working in IntelliJ IDEA 15?

The drag-and-drop re-factor move of files in the project window is not working for me in IntelliJ IDEA 15. If I right-click on a file in the project window, select Refactor -> Move... from the menu and change the package/folder there it works, but…
leeor
  • 17,041
  • 6
  • 34
  • 60
5
votes
2 answers

IntelliJ and Angular 2 Argument Type Not Assignable Errors

Is Angular2 in IntelliJ (latest update of v15 - Ultimate) supposed to work? All the docs seem to say that it does via the AngularJS plugin, but I'm getting really odd intellisense errors. For example; bootstrap(App, [ ROUTER_PROVIDERS, …
XeroxDucati
  • 5,130
  • 2
  • 37
  • 66
4
votes
1 answer

How to create an empty JavaFX project in IntelliJ

Every time I create a new JavaFX project in IntelliJ it loads a simple HelloWorld project in it. How can I make it empty instead (without the need to delete those .java files every time)? Also how can I choose to create the project without a…
4
votes
2 answers

Intellij IDEA, code styling for javascript object, how to remove quotes when not necessary around key?

We would like to edit the javascript code styling in intellij to remove quotes around key within object when not necessary: { "year": 2018, "month": 9, "day": 24, "startHours": 6, "startMinutes": 0, } should become { year: 2018, …
Dimitri Kopriwa
  • 13,139
  • 27
  • 98
  • 204
1 2
3
12 13