A problems with method signature popup (Ctrl+P)

Answered

Hi, I was told in the built-in interactive tutorial that Ctrl+P shows a method signature and it worked there. But after I make a new project, Ctrl+P shows only a list arguments for a fraction of a second. For example, Math.random() produces <no parameters>. This happens in both Java and Gradle+Java projects.

Might be similar to https://intellij-support.jetbrains.com/hc/en-us/community/posts/206281509-Method-signature-popup-problem?input_string=A%20problems%20with%20method%20signature%20popup%20(Ctrl%2BP) but there is only a dead link in the thread, thus no idea.

 

 

0
5 comments
Avatar
Permanently deleted user

It turns out, the popup blinks for a fraction of a second if outside parentheses of the call, otherwise it is stable. But still it is a bit strange: some signatures are formatted into two parts: return type and arguments, some just show arguments, no return type like Math.random().

Should the popup disappear almost instantly and should the return type be intermittent?

0

Please provide a sample file and a video showing the problem. Also specify your IntelliJ IDEA version and OS.

0
Avatar
Permanently deleted user
public class Test {
public static void main(String[] args) {

Math.random();
}
}

https://www.youtube.com/watch?time_continue=11&v=Bm6mICeIx24

COMMUNITY 2018.2, JRE 1.8.0_152, JDK OpenJDK 64 by JetBrains
Linux Mint 19 MATE
4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

0

Please sign in to leave a comment.