I am new to Eclipse/PyDev and I would like to change its default behavior.
First, I would like to turn off the auto-complete suggestions window that pops up while I am typing. I just find this distracting. I actually managed to do this by changing a bunch of settings in Window > Preferences > PyDev > Editor > Code Analysis/Code Completion, but I'm not sure which of the settings I changed was the correct one.
Secondly, I do find the suggestions window helpful when I need it. If I have autocomplete disabled, is there a hotkey I can press to pull up the window when I want it?
Go to File > Settings (or Ctrl + Alt + S ) > [IDE Settings] > Editor > Code Completion. The "Autopopup code completion" setting will determine if the popup opens automatically. Below it, the "Insert selected variant by typing dot, space, etc." is likely the setting you want to turn off.
Press Ctrl+Alt+S to open the IDE settings and select Editor | General | Code Completion. Under Machine Learning-Assisted Completion, enable the Sort completion suggestions based on machine learning option, and select the languages for which you want to use ML completion.
Python IDLE has basic code completion functionality. It can only autocomplete the names of functions and classes. To use autocompletion in the editor, just press the tab key after a sequence of text. The call tip will display as a popup note, reminding you how to append to a list.
The IPython 6.0 REPL introduced the Jedi library for code completion, which is the standard for Python autocomplete functionality in Jupyter notebooks.
For now, I have the auto-completion behavior like this: only when ctrl+space is pressed Eclipse rises possible autofill suggestions, in other cases the window is still clean. To end up having this result, you need to go to Windows/Preferences/PyDev/Editor. In the 'Code Completion' form unplug all checkboxes except 'Use code completion?'. And in 'Code Completion (ctx and insensitive common tokens)' you need to unplug all checkboxes. Hope this helps.
P.S. I use eclipse Luna 4.4.2 with PyDev version 4.1.0.201505270003
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With