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

后端 未结 8 1101
小鲜肉
小鲜肉 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:24

    The directory or one of the parent directories must be marked as Source Root (In this case, it appears in blue).

    If this is not the case, right click your root source directory -> Mark As -> Source Root.

提交回复
热议问题