Как всплыть параметры, когда я наведите курсор на метод в Java (Intellij IDEA)? - PullRequest
1 голос
/ 27 марта 2020
public class Main {

    public static void main(String[] args) {

        Monitor monitor=new Monitor() //When I put my cursor between the parentheses,
                                      //I want the parameters to be visible in a pop-up box
    }
}
public class Monitor {
    private String model;
    private String manufacturer;
    private int size;
    private Resolution nativeResolution;

    public Monitor(String model, String manufacturer, int size, Resolution nativeResolution) {
        this.model = model;
        this.manufacturer = manufacturer;
        this.size = size;
        this.nativeResolution = nativeResolution;
    }
}

Проблема в том, что, когда я помещаю курсор в скобки на new Monitor(), список параметров не появляется. Я должен go вернуться в свой Monitor класс и запомнить все параметры, которые мне нужно передать, что совсем не удобно. Я хочу, чтобы параметры отображались во всплывающем окне. Любая помощь приветствуется :) This is what happens with me

Я хочу это: enter image description here

...