Hi,

if that is the case it simply means, that Jedi cannot determine any useful 
completions. With respect to eric, please check, if the Jedi completions have 
been enabled in the configuration dialog (as well as the Jedi calltips).

Detlev

Am Sonntag, 10. November 2019, 08:56:08 CET schrieb Vasileios Anagnostopoulos:
> Hi Detlev,
> 
> Autocompletion does not seem to work for external libraries (only for what
> I have already)
> 
> I have the following example
> 
> # load the someImage and show it
> 
> > from PIL import Image
> > 
> > someImage : Image =
> > Image.open("/Users/vassilisanagnostopoulos/Downloads/grant.jpg")
> > print(someImage.format,  someImage.size,  someImage.mode)
> > someImage.show()
> > 
> > someImage.resize((100, 100)).show()
> > someImage.rotate(180).show()
> 
> 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
> 
> Shall I add something else apart from Jedi?
> 
> Thank you.
> 
> On Tue, Nov 5, 2019 at 8:37 PM Detlev Offenbach <det...@die-offenbachs.de>
> 
> wrote:
> > Hello,
> > 
> > eric supports completions and calltips. For this there are various
> > plug-ins
> > available through the eric Plugin Repository dialog.
> > 
> > eric Assistant:
> > It needs API files for general support. For support of files of the
> > project it
> > determines these from the source code when a file is saved or the project
> > is
> > opened.
> > 
> > Jedi:
> > As the name suggests this is an interface to the Jedi completion machine,
> > which is included in the plugin already. In addition to completions and
> > calltips it provides dynamic source code documentation.
> > 
> > Refactoring Rope:
> > This is an interface to the rope refactoring machine. Next to refactoring
> > it
> > provides completions, calltips and code documentation.
> > 
> > I hope this is the information that was looked for.
> > 
> > Regards,
> > Detlev
> > 
> > 
> > Am Dienstag, 5. November 2019, 15:33:52 CET schrieb Vasileios
> > 
> > Anagnostopoulos:
> > > Hi.
> > > 
> > > I use Eric for running snippets but it is more than that.
> > > It is not to me clear how to use type hints (PEP 484), or if they are
> > > supported at all, by Eric. I need it to autocomplete / type-check code I
> > > have written. I am also open to suggestions. I see that PyCharm does
> > > support them but it is too heavy on resources.
> > > 
> > > Thank you.
> > 
> > --
> > Detlev Offenbach
> > det...@die-offenbachs.de

-- 
Detlev Offenbach
det...@die-offenbachs.de


_______________________________________________
Eric mailing list
Eric@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/eric

Reply via email to