<div dir="ltr"><div>Hi Detlev,</div><div><br></div><div>Autocompletion does not seem to work for external libraries (only for what I have already)</div><div><br></div><div>I have the following example</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div># load the someImage and show it<br>from PIL import Image<br><br>someImage : Image = Image.open("/Users/vassilisanagnostopoulos/Downloads/grant.jpg")<br>print(someImage.format,  someImage.size,  someImage.mode)<br>someImage.show()<br><br>someImage.resize((100, 100)).show()<br>someImage.rotate(180).show()<br></div></blockquote><div><br></div><div>While (On Macos with python 3.8) I can navigate to the definition of "open", Cmd + Left Click, when I write someImage. no suggestions come up. I have the same problem with PyCharm / VSCode</div><div><br></div><div>Shall I add something else apart from Jedi?</div><div><br></div><div>Thank you.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 5, 2019 at 8:37 PM Detlev Offenbach <<a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
eric supports completions and calltips. For this there are various plug-ins <br>
available through the eric Plugin Repository dialog.<br>
<br>
eric Assistant:<br>
It needs API files for general support. For support of files of the project it <br>
determines these from the source code when a file is saved or the project is <br>
opened.<br>
<br>
Jedi:<br>
As the name suggests this is an interface to the Jedi completion machine, <br>
which is included in the plugin already. In addition to completions and <br>
calltips it provides dynamic source code documentation.<br>
<br>
Refactoring Rope:<br>
This is an interface to the rope refactoring machine. Next to refactoring it <br>
provides completions, calltips and code documentation.<br>
<br>
I hope this is the information that was looked for.<br>
<br>
Regards,<br>
Detlev<br>
<br>
<br>
Am Dienstag, 5. November 2019, 15:33:52 CET schrieb Vasileios Anagnostopoulos:<br>
> Hi.<br>
> <br>
> I use Eric for running snippets but it is more than that.<br>
> It is not to me clear how to use type hints (PEP 484), or if they are<br>
> supported at all, by Eric. I need it to autocomplete / type-check code I<br>
> have written. I am also open to suggestions. I see that PyCharm does<br>
> support them but it is too heavy on resources.<br>
> <br>
> Thank you.<br>
<br>
-- <br>
Detlev Offenbach<br>
<a href="mailto:detlev@die-offenbachs.de" target="_blank">detlev@die-offenbachs.de</a><br>
<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Dr. Vasileios Anagnostopoulos (MSc,PhD)</div><div>Researcher/Developer</div><div>ICCS/NTUA 9 Heroon Polytechneiou Str., Zografou 15773 Athens,Greece</div><div>T (+30) 2107723404 M (+30) 6936935388</div><div>E <a href="mailto:vanag@mail.ntua.gr" target="_blank">vanag@mail.ntua.gr</a><mailto:<a href="mailto:vanag@mail.ntua.gr" target="_blank">vanag@mail.ntua.gr</a>> <a href="http://www.ntua.gr" target="_blank">www.ntua.gr</a><<a href="http://www.ntua.gr/" target="_blank">http://www.ntua.gr/</a>></div></div></div>