Disable content assist in Eclipse

匆匆过客 提交于 2020-01-09 07:14:49

问题


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.


回答1:


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.):

The idea is to disable what triggers the content assist.




回答2:


  • Go to Window → Preferences.

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

  • Go to Editor → Typing.

  • Uncheck all that you don't want.




回答3:


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.




回答4:


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.




回答5:


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



来源:https://stackoverflow.com/questions/4906137/disable-content-assist-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!