Questions tagged [intellij-idea-2018]

40 questions
70
votes
14 answers

IntelliJ: Error: java: release version 10 not supported

In IntelliJ, I'm getting this strange error message when I try to build from the build menu Error: java: release version 10 not supported I don't understand this, since in Project Structure, I have these settings set: Project SDK: 9.0 Project…
MiguelMunoz
  • 3,787
  • 1
  • 25
  • 31
15
votes
2 answers

How can I control the dependencies of IntelliJ Scratch files?

I have a scratch file using guava collections, and I get some weird errors that I have to assume is due to the editor and the actual run environment assuming different versions of the guava collections: Exception in thread "main"…
K. M
  • 737
  • 7
  • 14
7
votes
1 answer

Inspection info: Verifies @ConfigurationProperties setup. New in 2018.3 IntelliJ

I get the following hint in the latest IntelliJ Idea: Not registered via @EnableConfigurationProperties or marked as Spring component less... (Ctrl+F1) Inspection info: Verifies @ConfigurationProperties setup. New in 2018.3 With the following…
powder366
  • 3,907
  • 6
  • 44
  • 76
7
votes
1 answer

Can't run tests .idea/modules' does not exist

I have the spring-boot project with two modules But Idea does not generate ./idea/modules folders those when I am trying to run tests I got next error ' Cannot start process, the working directory /home/../my_project_name/.idea/modules' does not…
smaiakov
  • 452
  • 3
  • 18
4
votes
1 answer

Force push keyboard shortcut in IntelliJ IDEA 2018.1

In the IDEA 2017.3 I was able to do the force push in Push Commits window by pressing ALTP and then twice ALTF. This doesn't work in 2018.1 anymore. What's the shortcut that I can use from now on?
Michal Kordas
  • 9,161
  • 7
  • 42
  • 81
3
votes
1 answer

Intellij 2018.3.1 Unable to dump project structure from SBT project

Updating to Intellij Ultimate 2018.3 from 2018.2 broke the project sync of one of my project under SBT. It is depending on another git repo in build.sbt val commonScheme = "git+ssh://git@" lazy val commonsGit = …
whisust
  • 158
  • 1
  • 16
3
votes
1 answer

How to create an empty commit via GUI in IntelliJ IDEA 2018.1 + Git Integration plugin?

Is there a way to create an empty commit (i.e. no actual changes) in IntelliJ IDEA 2018.1 (using git with the Git Integration plugin)? I'm looking for the equivalent of git commit --allow-empty -m "foo" but using GUI. Trying to commit an empty…
Attila Csipak
  • 756
  • 1
  • 12
  • 30
3
votes
1 answer

Kotlin Add Integration Tests Module

I am trying to add another module to my Kotlin project specifically for integration tests - living alongside the standard test module creating by the kotlin plugin. Here is my current configuration to add the sourceset: sourceSets { …
3
votes
0 answers

How do I resolve this error "verifier detected internal inconsistency or security prolbem" while remotely debugging a JVM in IntelliJ IDEA?

How do I resolve this error in IntelliJ IDEA 2018 while remotely debugging a JVM running inside docker inside a ubuntu VM. Hot Swap failed. host port: verifier detected internal inconsistency or security problem host port: Verification error:…
user674669
  • 6,969
  • 7
  • 54
  • 83
3
votes
1 answer

How to avoid reordering when optimize imports

Is there a way to prevents Intellij Idea to rearrange imports when it runs the optimize imports? I want to avoid this since I work on a large codebase where most of others programmers are using Eclipse. When Idea do the optimization (to remove…
alexpfx
  • 5,204
  • 6
  • 34
  • 73
3
votes
0 answers

Bug in Intellij 18.1 when I try evaluate expression with var

I have this code: import java.util.List; public class Main { public static void main(String[] args) { var first = List.of("a", "b", "c").stream().map(String::length).findFirst(); System.out.print(first); } } When I run…
3
votes
1 answer

Upgraded to Intellij 2018.1 and now I'm getting an error for public static final String constants that are referenced in SQL code

All my classes that have public static final String NAME = "value" that are used in SQL queries are now getting a compiler error " or DELIMITER expected, got 'lastname'". You can also find the code below in case it helps replicate it. public…
Stephane Grenier
  • 14,426
  • 35
  • 98
  • 179
2
votes
0 answers

Spring Boot run dashboard missing from Intellij IDEA 2018.2

I have added the Custom VM Option -Dide.run.dashboard=true in Help -> Edit custom VM options. But I cannot seem to find this "Run Dashboard" for Spring boot that which is mentioned in this JetBrains blog post…
Aseem Bansal
  • 6,125
  • 11
  • 43
  • 80
2
votes
1 answer

Hiding the tabs appearance of intellij idea 2018

I am trying to hide the tabs screen (which i placed on the left, see screenshot 2), just as other screen parts kan be hidden. I am using intellij idea 2018. I have the tabs appearance set to the left, see screenshot 2. I can't find any options to…
BramscoChill
  • 343
  • 3
  • 14
2
votes
1 answer

Intellij : Opening a project is stuck on loading forever

When I try to open a project, it keeps loading forever the file listing without giving a chance to do anything. I tried to restart it, restart my machine and reinstall but couldn't solve the problem, please help! Form intellij log, the following…
Ahmad Al-Kurdi
  • 1,887
  • 2
  • 16
  • 35
1
2 3