Home > Mobile >  Intellij - Missing basic intention actions
Intellij - Missing basic intention actions

Time:05-13

I have absolutely no idea why IntelliJ IDEA 2022.1.1 (Community Edition), just after creating a new Java class and typing in some random fields, doesn't show basic intention actions like generate constructor, getter, setter etc. I know it looks so trivial - despite I'm Java beginner and IntelliJ IDEA's newbie this thing occurs for first time:

 class Product {
    String product;
    double price;
}

Result

CodePudding user response:

It looks like you are using the wrong shortcut (Show Intention Actions or Alt Enter instead of Generate or Alt Insert).

See the documentation.

  • Related