IntelliJ does not show 'Class' when we right click and select 'New'

后端 未结 8 1035
小鲜肉
小鲜肉 2020-12-07 10:26

We\'re creating a new project in IntelliJ and must have something wrong because when we right click on a directory, select New and then get the context menu, Java b

相关标签:
8条回答
  • 2020-12-07 11:26

    Had this issue too. Invalidating Caches/Restart did the trick for me. Please upvote so the the IntelliJ folks take this more seriously. This gives the IDE a terrible UI/UX experience.

    https://youtrack.jetbrains.com/issue/IDEA-203100

    0 讨论(0)
  • 2020-12-07 11:29

    Another possible solution is that the project name is not acceptable. For example, creating a project with spaces in the name does not block the project creation but the proper sources are not marked and when those are marked manually, I still was unable to create classes. Recreating the project with hyphens (-) instead of spaces corrected the problem for me.

    0 讨论(0)
提交回复
热议问题