IntelliJ Code Completion not working for new Java classes

前端 未结 16 1902
挽巷
挽巷 2020-12-10 02:10

IntelliJ IDEA 13 has started exhibiting a very weird behavior in my local setup.

Namely, in any new Java class added to an existing project

16条回答
  •  天涯浪人
    2020-12-10 02:35

    I had this same problem and it was caused by me not having a folder marked as sources root.

    Right click on your src directory and Mark Directory As > Sources Root.

提交回复
热议问题