Eclipse Content Assist Error

后端 未结 5 890
忘了有多久
忘了有多久 2021-01-12 13:29

Lately I have been having more and more issues with the content assist in Eclipse. In some of my projects, I get no proposals from the content assist, and in other projects

相关标签:
5条回答
  • 2021-01-12 14:07

    I ended up upgrading the ActionBarSherlock library to the latest 4.1 (http://actionbarsherlock.com/) and it has fixed my eclipse troubles.

    0 讨论(0)
  • 2021-01-12 14:07

    I had this problem too, with Pb(324) message. It turned out, that reading the message with understanding was enough to fix it. However what I did first was going to stackoverflow. No good :)

    In my groovy project the dependent libraries were not automatically visible by autocompletion. Not sure why, I'm new to this stuff. So I was adding them manually. But I did not add manually the indirect dependencies. The error message specifies the class causing the problem. I added a reference to the jar containing the problematic class and bingo - no more code assist errors.

    To be specific: Project, Properties, Java Build Path, Libraries, Add External JARs. Then I pointed to the directory, where gradle downloaded the lib.

    0 讨论(0)
  • 2021-01-12 14:11

    Try this

    Window >> Preferences >> Java >> Editor >> Content Assist >> Restore defaults

    Window >> Preferences >> Java >> Editor >> Content Assist >> Advanced >> Restore defaults

    0 讨论(0)
  • 2021-01-12 14:20

    I had a similar problem with projects that used the V4 compatibility library when it was updated. Try removing the project dependency on the library, restarting Eclipse, and then adding the dependency back in. (I think this is what I did to resolve the issue, but if that doesn't work, I'll try to think of what else I might have done.)

    0 讨论(0)
  • 2021-01-12 14:28

    For me updating Eclipse worked.

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