Disable content assist in Eclipse

2020-01-31 02:53发布

How do you disable content assist in Eclipse?

I do not mind allowing it to come up when I press ctrl & space, but I do not like how it automatically comes up as I am typing. It just messes me up. For instance it, I would end up scrolling through the options when I just want to go up a line. It is getting tedious having to press escape whenever it decides to pop up.

I have found the page in the preferences for it, but I cannot seem to find out how to disable the auto-pop-up.

EDIT: I am using the application for android development. I have already disabled "auto-activation" for both Java and XML, but it does not seem to have an effect. The window will still pop up automatically.

EDIT2: I tried restarting the program after making the changes, but it still had no effect. I made sure that the option changes were still in effect, and they were still in effect.

5条回答
欢心
2楼-- · 2020-01-31 03:08

This Eclipse3.6 Help page on Content assist can help (it is for C++, but the same idea applies for Java on the Java > Editor > Content Assist preference page.):

enter image description here

The idea is to disable what triggers the content assist.

查看更多
家丑人穷心不美
3楼-- · 2020-01-31 03:08

In Eclipse Mars.1 :- go to Window then->preferences -> Java -> Editor -> Content Assist ->Advanced -> Restore Default ->Apply and then OK.

查看更多
Viruses.
4楼-- · 2020-01-31 03:12
  • Go to Window → Preferences.

  • In the filter text search bar, type "typing".

  • Go to Editor → Typing.

  • Uncheck all that you don't want.

查看更多
别忘想泡老子
5楼-- · 2020-01-31 03:12

It's not readily obvious and there doesn't appear to be a global option to turn it off all over the place. This may sound obvious, but it's important to make sure to turn off Auto-Activation on all of the different structured editor types that you do not want it active on.

查看更多
神经病院院长
6楼-- · 2020-01-31 03:30

Don't know if you did get it to disable but I was having the same trouble as you. I did the following: Window > Prefrences > Content Assist Uncheck all and hit apply

Java > Editor > Content assist > Advanced Uncheck all and hit apply.

Hope this works if you still haven't found an answer.

查看更多
登录 后发表回答