<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=utf-8">
<meta name="x_Generator" content="Microsoft Word 15 (filtered medium)">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:DengXian}
@font-face
        {font-family:Calibri}
@font-face
        {}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:x_link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:x_visited, span.x_MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
.x_MsoChpDefault
        {}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="blue" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal">Hi Detlev,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Jieba is a module for parsing Chinese sentences, its functionality isn’t really important, more so using it as an example to show that autocompletion plugins aren’t searching imported modules.</p>
<p class="x_MsoNormal">Here’s another example using the os module</p>
<p class="x_MsoNormal"><img width="315" height="175" id="x_Picture_x0020_3" alt="cid:image001.png@01D46923.A559E1D0" style="width:3.2812in; height:1.8229in" src="cid:image001.png@01D46923.A559E1D0"></p>
<p class="x_MsoNormal">While the curdir functions from os are showing, many functions from other modules that do not exist in os are showing up.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">If I use an installed module outside of the standard python library, such as jieba, the jieba attributes don’t show at all.</p>
<p class="x_MsoNormal">My current set up is I have eric6 installed in its own conda environment, and jieba installed in another conda environment. Note that I can run my project in eric6 using jieba, so eric knows where to find the jieba module.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Christos – I tried to mimic your setup, infact my configurations were already as you described. Do you get the same output as I do in the picture attached?</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Alex.</p>
<p class="x_MsoNormal"> </p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Detlev Offenbach <detlev@die-offenbachs.de><br>
<b>Sent:</b> Sunday, October 21, 2018 12:43:08 AM<br>
<b>To:</b> Eric@riverbankcomputing.com<br>
<b>Cc:</b> Alex Gerhardt-Bourke<br>
<b>Subject:</b> Re: [Eric] Autocompletion behaviour</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:11pt;">
<div class="PlainText">What is jieba? Where is it installed with respect to the project? It is hard
<br>
to guess, what the situation is on your system.<br>
<br>
Detlev<br>
<br>
Am Samstag, 20. Oktober 2018, 16:28:50 CEST schrieb Alex Gerhardt-Bourke:<br>
> [cid:image001.png@01D468C3.ED0E5D40]<br>
> <br>
> <br>
> <br>
> [cid:image002.png@01D468C4.0EE2CB90]<br>
> <br>
> <br>
> <br>
> Despite having the plug-ins enabled and APIs installed, this is how<br>
> autocomplete is currently behaving. One screenshot shows that functions<br>
> from other modules are showing up when they shouldn’t, and as<br>
> cut_for_search is not present we also see that the functions from the jieba<br>
> module are not showing up.<br>
> <br>
> <br>
> <br>
> This doesn’t seem like desired behavior at all so really appreciate any help<br>
> getting to the bottom of this.<br>
> <br>
> <br>
> <br>
> Alex.<br>
> <br>
> <br>
> <br>
> ________________________________<br>
> From: Detlev Offenbach <detlev@die-offenbachs.de><br>
> Sent: Saturday, October 20, 2018 10:10:52 PM<br>
> To: Eric@riverbankcomputing.com<br>
> Cc: Alex Gerhardt-Bourke<br>
> Subject: Re: [Eric] Autocompletion behaviour<br>
> <br>
> Hi,<br>
> <br>
> that seems to be correct. The eric assistant will use the same installed API<br>
> files (see APIs config page). Additionally, it will extract APIs from a<br>
> project once you open it. The rope plug-in determines completions and<br>
> calltips dynamically for the opened project. The jedi plug-in should do<br>
> this for random files (Tobias knows better on this).<br>
> <br>
> Detlev<br>
> <br>
> Am Samstag, 20. Oktober 2018, 15:07:20 CEST schrieb Alex Gerhardt-Bourke:<br>
> > Hi Detlev,<br>
> > <br>
> > <br>
> > <br>
> > I did install the qscintilla API, but didn’t realise I needed to for eric<br>
> > Assistant. Now checking, there don’t seem to be any new APIs to install. I<br>
> > installed the plugins as user plugins and searching for all .api files in<br>
> > the user plugins install directory doesn’t return any api files for<br>
> > anything other than various python versions, QScintilla2, and PyQt.<br>
> > <br>
> > <br>
> > <br>
> > Alex.<br>
> > <br>
> > <br>
> > <br>
> > ________________________________<br>
> > From: Detlev Offenbach <detlev@die-offenbachs.de><br>
> > Sent: Saturday, October 20, 2018 8:58:37 PM<br>
> > To: Alex Gerhardt-Bourke<br>
> > Cc: eric@riverbankcomputing.com<br>
> > Subject: Re: [Eric] Autocompletion behaviour<br>
> > <br>
> > Hi Alex,<br>
> > <br>
> > did you install API files (for eric Assistant and QScintilla completers)<br>
> > and selected the options that suit your needs? Maybe (partial)<br>
> > screenshots may help to illustrate the issue.<br>
> > <br>
> > Detlev<br>
> > <br>
> > Am Samstag, 20. Oktober 2018, 14:51:50 CEST schrieb Alex Gerhardt-Bourke:<br>
> > > Hi Detlev,<br>
> > > <br>
> > > <br>
> > > <br>
> > > I saw the new config pages for the new plug-ins and have enabled them<br>
> > > all,<br>
> > > but I still don’t get the desired results. Behaviour is still as<br>
> > > described<br>
> > > in my last email.<br>
> > > <br>
> > > <br>
> > > <br>
> > > <br>
> > > <br>
> > > ________________________________<br>
> > > From: Detlev Offenbach <detlev@die-offenbachs.de><br>
> > > Sent: Saturday, October 20, 2018 6:52:46 PM<br>
> > > To: Eric@riverbankcomputing.com<br>
> > > Cc: Alex Gerhardt-Bourke; Tobias Rzepka; eric@riverbankcomputing.com<br>
> > > Subject: Re: [Eric] Autocompletion behaviour<br>
> > > <br>
> > > Am Samstag, 20. Oktober 2018, 06:31:32 CEST schrieb Alex Gerhardt-<br>
Bourke:<br>
> > > > Hi All,<br>
> > > > <br>
> > > > I have installed the three other Autocompletion tools – eric<br>
> > > > assistant,<br>
> > > > jedi, and Rope; none of them seem are currently showing<br>
> > > > autocompletions<br>
> > > > for<br>
> > > > imported modules. For example, I have installed and imported a module<br>
> > > > called jieba, typing “jieba.” and then pressing ctrl+space shows<br>
> > > > nothing.<br>
> > > > Starting to type directly after typing “jieba.” shows matches from<br>
> > > > other<br>
> > > > modules, but none from jieba. For example, typing jieba.cut brings<br>
> > > > many<br>
> > > > matches from PyQt5 and eric6, but none from jieba. The function<br>
> > > > cut_for_search from jieba doesn’t show up at all.<br>
> > > > <br>
> > > > Is there some configuration I have missed?<br>
> > > <br>
> > > After the installation of these plug-ins, you will find additional<br>
> > > configuration pages for auto completion and call tips. On these pages<br>
> > > you<br>
> > > have to enable the modules you want to want to get support from. You<br>
> > > should<br>
> > > look at "Mouse Click Handlers" as well. With that you can configure a<br>
> > > navigation feature (e.g. Ctrl+Click on a method usage jumps to the<br>
> > > method<br>
> > > definition).<br>
> > > <br>
> > > Detlev<br>
> > > <br>
> > > > ________________________________<br>
> > > > From: Eric <eric-bounces@riverbankcomputing.com> on behalf of Alex<br>
> > > > Gerhardt-Bourke <agerhbour@hotmail.com> Sent: Saturday, October 20,<br>
> > > > 2018<br>
> > > > 11:54:22 AM<br>
> > > > To: Tobias Rzepka; eric@riverbankcomputing.com<br>
> > > > Subject: Re: [Eric] Autocompletion behaviour<br>
> > > > <br>
> > > > Hi Tobias,<br>
> > > > <br>
> > > > Thanks for that, that’s exactly what I needed. It seems as though the<br>
> > > > checkbox works opposite to how it should! Next time I’ll be sure to<br>
> > > > check<br>
> > > > all the mouse hover over texts.<br>
> > > > <br>
> > > > Christos, thanks for your recommendations on other plugins. I’m still<br>
> > > > familiarizing myself with Eric so didn’t know which functionalities<br>
> > > > are<br>
> > > > built-in and which are plug-ins.<br>
> > > > <br>
> > > > Alex.<br>
> > > > <br>
> > > > ________________________________<br>
> > > > From: Eric <eric-bounces@riverbankcomputing.com> on behalf of Tobias<br>
> > > > Rzepka<br>
> > > > <tobias.rzepka@gmail.com> Sent: Saturday, October 20, 2018 4:11:02 AM<br>
> > > > To: eric@riverbankcomputing.com<br>
> > > > Subject: Re: [Eric] Autocompletion behaviour<br>
> > > > <br>
> > > > <br>
> > > > Hello Alex,<br>
> > > > <br>
> > > > you can configure it under Settings -> Preferences -> Editor -><br>
> > > > Autocompletion -> QScintilla. Keep the first checkbox ("Show single")<br>
> > > > unchecked. If you stay a little while over the text, you'll see a<br>
> > > > tooltip<br>
> > > > with a good hint about the function of the specific setting.<br>
> > > > <br>
> > > > You should also try out the eric plugins which support autocompletion.<br>
> > > > I<br>
> > > > prefer jedi, but you can also choose Eric assistant or rope (or even<br>
> > > > all<br>
> > > > of<br>
> > > > them together).<br>
> > > > <br>
> > > > Tobias<br>
> > > > <br>
> > > > Alex Gerhardt-Bourke schrieb am 19.10.2018 um 05:46:<br>
> > > > Is there a way to change the behavior of autocompletion so that eric<br>
> > > > never<br>
> > > > forces a match, but still displays the drop-down suggestion list?<br>
> > > > <br>
> > > > For further clarification, my current experience with autocomplete<br>
> > > > turned<br>
> > > > on is that if there is only one match, the match will automatically<br>
> > > > fill,<br>
> > > > if there is more than one match, a drop-down of current matches will<br>
> > > > display. I like the drop down but do not like the automatic fill.<br>
> > > > <br>
> > > > <br>
> > > > I am also wondering if it is possible, and if so how, to get<br>
> > > > autocomplete<br>
> > > > suggestions from imported modules outside of the python standard<br>
> > > > library.<br>
> > > > <br>
> > > > Regards,<br>
> > > > Alex.<br>
> > > > <br>
> > > > <br>
> > > > <br>
> > > > <br>
> > > > _______________________________________________<br>
> > > > Eric mailing list<br>
> > > > Eric@riverbankcomputing.com<mailto:Eric@riverbankcomputing.com><br>
> > > > <a href="https://www.riverbankcomputing.com/mailman/listinfo/eric">https://www.riverbankcomputing.com/mailman/listinfo/eric</a><br>
> > > <br>
> > > --<br>
> > > Detlev Offenbach<br>
> > > detlev@die-offenbachs.de<br>
> > <br>
> > --<br>
> > Detlev Offenbach<br>
> > detlev@die-offenbachs.de<br>
> <br>
> --<br>
> Detlev Offenbach<br>
> detlev@die-offenbachs.de<br>
<br>
-- <br>
Detlev Offenbach<br>
detlev@die-offenbachs.de<br>
<br>
<br>
</div>
</span></font>
</body>
</html>