IntelliJ Code Completion not working for new Java classes

前端 未结 16 1905
挽巷
挽巷 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:47

    I had a groovy project where somehow the jdk was not set as a dependency, so jdk classes would not autocomplete.

    Fix:

    1. project structure
    2. modules
    3. (your module)
    4. tab Dependencies.
    5. In the field Module SDK, add a jdk.

提交回复
热议问题