[Eric] Autocompletion behaviour
Alex Gerhardt-Bourke
agerhbour at hotmail.com
Sat Oct 20 05:31:32 BST 2018
Hi All,
I have installed the three other Autocompletion tools – eric assistant, jedi, and Rope; none of them seem are currently showing autocompletions for imported modules. For example, I have installed and imported a module called jieba, typing “jieba.” and then pressing ctrl+space shows nothing. Starting to type directly after typing “jieba.” shows matches from other modules, but none from jieba. For example, typing jieba.cut brings many matches from PyQt5 and eric6, but none from jieba. The function cut_for_search from jieba doesn’t show up at all.
Is there some configuration I have missed?
________________________________
From: Eric <eric-bounces at riverbankcomputing.com> on behalf of Alex Gerhardt-Bourke <agerhbour at hotmail.com>
Sent: Saturday, October 20, 2018 11:54:22 AM
To: Tobias Rzepka; eric at riverbankcomputing.com
Subject: Re: [Eric] Autocompletion behaviour
Hi Tobias,
Thanks for that, that’s exactly what I needed. It seems as though the checkbox works opposite to how it should! Next time I’ll be sure to check all the mouse hover over texts.
Christos, thanks for your recommendations on other plugins. I’m still familiarizing myself with Eric so didn’t know which functionalities are built-in and which are plug-ins.
Alex.
________________________________
From: Eric <eric-bounces at riverbankcomputing.com> on behalf of Tobias Rzepka <tobias.rzepka at gmail.com>
Sent: Saturday, October 20, 2018 4:11:02 AM
To: eric at riverbankcomputing.com
Subject: Re: [Eric] Autocompletion behaviour
Hello Alex,
you can configure it under Settings -> Preferences -> Editor -> Autocompletion -> QScintilla. Keep the first checkbox ("Show single") unchecked. If you stay a little while over the text, you'll see a tooltip with a good hint about the function of the specific setting.
You should also try out the eric plugins which support autocompletion. I prefer jedi, but you can also choose Eric assistant or rope (or even all of them together).
Tobias
Alex Gerhardt-Bourke schrieb am 19.10.2018 um 05:46:
Is there a way to change the behavior of autocompletion so that eric never forces a match, but still displays the drop-down suggestion list?
For further clarification, my current experience with autocomplete turned on is that if there is only one match, the match will automatically fill, if there is more than one match, a drop-down of current matches will display. I like the drop down but do not like the automatic fill.
I am also wondering if it is possible, and if so how, to get autocomplete suggestions from imported modules outside of the python standard library.
Regards,
Alex.
_______________________________________________
Eric mailing list
Eric at riverbankcomputing.com<mailto:Eric at riverbankcomputing.com>
https://www.riverbankcomputing.com/mailman/listinfo/eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20181020/7a87e9d7/attachment-0001.html>
More information about the Eric
mailing list