[Eric] Autocompletion behaviour

Alex Gerhardt-Bourke agerhbour at hotmail.com
Sat Oct 20 13:51:50 BST 2018


Hi Detlev,



I saw the new config pages for the new plug-ins and have enabled them all, but I still don’t get the desired results. Behaviour is still as described in my last email.





________________________________
From: Detlev Offenbach <detlev at die-offenbachs.de>
Sent: Saturday, October 20, 2018 6:52:46 PM
To: Eric at riverbankcomputing.com
Cc: Alex Gerhardt-Bourke; Tobias Rzepka; eric at riverbankcomputing.com
Subject: Re: [Eric] Autocompletion behaviour


Am Samstag, 20. Oktober 2018, 06:31:32 CEST schrieb Alex Gerhardt-Bourke:
> 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?

After the installation of these plug-ins, you will find additional
configuration pages for auto completion and call tips. On these pages you have
to enable the modules you want to want to get support from. You should look at
"Mouse Click Handlers" as well. With that you can configure a navigation
feature (e.g. Ctrl+Click on a method usage jumps to the method definition).

Detlev

>
> ________________________________
> 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

--
Detlev Offenbach
detlev at die-offenbachs.de


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20181020/9c4f8cb9/attachment.html>


More information about the Eric mailing list