Eclipse autocomplete not working

后端 未结 8 1953
遥遥无期
遥遥无期 2020-12-29 06:08

The autocomplete of eclipse is not working now and I searched for hours but I couldn\'t find an answer to solve it. I haven\'t used it for long time then the first thing aft

相关标签:
8条回答
  • 2020-12-29 06:17

    Window->Preferences->Java->Editor->Content Assist->Advanced

    The following options have to be selected, then the autocomplete worked . No restart is required.

    Java Proposals  (must be selected, not sure the follows)
    
    Java Non-Type Proposals
    Java Type Proposals
    Java Proposals (Task-focused)
    
    0 讨论(0)
  • 2020-12-29 06:20

    This is recurring for me. I'm using Eclipse 2019-03 in Windows 10. The steps below work for my case, and does not require a restart.

    Window->Preferences->Java->Editor->Content Assist->Advanced

    The following options are de-selected, and when I set them the autocomplete worked as before. No restart needed.

    1. Java Non-Type Proposals
    2. Java Proposals
    3. Java Type Proposals
    4. Java Proposals (Task-focused)

    I don't know what's triggering this but it only happens after I've created a new project. Usually doesn't. It simply doesn't happen often enough for me to notice a pattern to follow up on more. Clearly this problem occurs with a variety of causes, so review the other answers to see if they match your case.

    0 讨论(0)
  • 2020-12-29 06:21

    The hot key combination ctrl+space might be conflict with other settings in system if you are using windows.

    Try modify this combination like alt+/, i always use this one since the first time i knew eclipse. It works well.

    Hope it works for you.

    0 讨论(0)
  • 2020-12-29 06:24

    Recently, I also faced this issue. When I install neon version eclipse. By (1) deleting respective class, (2) restoring defaults appearance and (3) restarting eclipse, solved the problem for me. Hope it will help someone.

    0 讨论(0)
  • 2020-12-29 06:26

    Also a possible problem that solved for me: http://blog.rtwilson.com/how-to-solve-the-ctrl-space-auto-complete-not-working-problem-in-eclipse/

    0 讨论(0)
  • 2020-12-29 06:28

    I had the same Problem on Ubuntu 14.04. The problem for me was that ibus used Ctrl+Space as a shortcut. I solved it by starting the program ibus-setup and chaning the shortcut to something else than Ctrl+Space.

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