Eclipse autocomplete not working in some Java files

前端 未结 8 1606
深忆病人
深忆病人 2020-12-25 11:02

I have noticed that autocomplete is not working in some of java files in Eclipse. Also, the files where autocomplete is not working, display a hollow \"J\" as the icon for t

8条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-25 11:37

    As an addendum to the @VonC answer, make sure that the Java files are part of the Inclusion pattern. I had a case where a build process was creating the project while only including .js files and not the Java files:

    Shows Eclipse Include without Java files

    You can manually edit the inclusions via the Edit button. In my case, a fix was made to the build script to make it permanent.

提交回复
热议问题