<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal">I think I am getting to the bottom of this. It seems that autocomplete only works properly for the modules installed in the conda environment pointed to under Preferences->Debugger->Python3->Python 3 Virtual Environment.</p>
<p class="MsoNormal">Choosing the debugger for the project under Project->Debugger->Debugger Properties… is not sufficient, this is what I had done earlier and not gotten any results.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Detlev, perhaps in its current state, plug-ins do not check to see if an alternative debugger is set in the project settings?</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Alex.</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Eric <eric-bounces@riverbankcomputing.com> on behalf of Alex Gerhardt-Bourke <agerhbour@hotmail.com><br>
<b>Sent:</b> Monday, October 22, 2018 9:55:45 AM<br>
<b>To:</b> Christos Sevastiadis; Eric@riverbankcomputing.com<br>
<b>Subject:</b> Re: [Eric] Autocompletion behaviour</font>
<div> </div>
</div>
<div>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal">Thankyou for trying that out for me. After reading what you wrote, I tried installing the module into various conda environments.</p>
<p class="MsoNormal">Installing jieba into the base environment did not help the plugin at all, but installing it into my eric6 environment did help the plugin find the module objects.</p>
<p class="MsoNormal">This is very irritating – I tend to use environments pretty extensively, having a new environment for every project. I will play around with more settings and see if I can get the plugins working with conda environments and report back
on any findings.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks again for your help.</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Eric <eric-bounces@riverbankcomputing.com> on behalf of Christos Sevastiadis <csevast@auth.gr><br>
<b>Sent:</b> Monday, October 22, 2018 4:05:49 AM<br>
<b>To:</b> Eric@riverbankcomputing.com<br>
<b>Subject:</b> Re: [Eric] Autocompletion behaviour</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Alex,</div>
<div><br>
</div>
<div>I installed the jieba module either to test it. Anyway, with any imported module in my current Project, typing the name of the module or typing the name of an imported object from a module, installed in the environment or saved in my project's path, the
Autocompletion lists the correct results. Let say, typing "jieba." lists jieba objects. If I type something that it is not included in the objects attributes then the Autocompletion list is populated with matches from other imported objects. Sometimes it needs
some time the modules to be read. When you are changing the settings in preferences I suggest you to close and open again your project. Also, I suppose that you selected something in the "Project Type" in the "Project Properties". In my case I have selected
"PyQt5 GUI", for which I selected the Python-3.7, Python-3.6 and PyQt5 APIs from "Add from installed APIS" in Settings.Preferences.Editor.APIs, for Python3 Language and "PyQT5 GUI" "Project Type". In my Python setup I use the base Conda environment for development
and a created one for my Eric installation. I haven't tried to use another Conda environment, different than the base, for development.</div>
<div><br>
</div>
<div>Each Autocompletion list entry has an icon on the beginning - boxes in blue and yellow, a notepad with a pen etc. Unfortunately I don't know how to interpret them exactly but only suggestions I can do.</div>
<div><br>
</div>
<div>Christos</div>
<div><br>
</div>
</div>
</div>
</div>
</body>
</html>