no usage found in project files

2.2k Views Asked by At

I am learning Java last some days in IntelliJ. Yesterday I updated JDK (Java 19.0.1, 2022-10-18) and deleted old IntelliJ and installed new IntelliJ. After I created a project and it shows no usage.

no usage
public class Main {
no usage
    public static void main(String... args){
        System.out.println("Hello world!");
    }[enter image description here](https://i.stack.imgur.com/yizz1.png)
}

If I click on "no usage" then no usage found in project file and after on it then FIND USAGE BOX popup.

I am beginner. Please help me. What is it and how to resolve?

2

There are 2 best solutions below

2
On

enter image description here

Uncheck usages hint.

0
On

Right click on the no usage and you’ll see options saying hide click on that