[Eric] Type hints

Detlev Offenbach detlev at die-offenbachs.de
Wed Nov 13 18:27:49 GMT 2019


> Good news, I was able to make it work with only JEDI

I am glad you got it working.

> and actually I had to
> 
> change the script to :
> > # load the image and show it
> > from PIL import Image
> > 
> > image : Image.Image =
> > Image.open("/Users/vassilisanagnostopoulos/Downloads/grant.jpg")
> > print(image.format, image.size, image.mode)
> > image.show()
> > 
> > image.resize((100, 100)).show()
> > image.rotate(180).show()
> 
> What is not good is that I get autocompletion suggestions but they have
> only a function signature, not function signature and documentation like in
> VScode. Is it supported?

The code editor used in eric (QScintilla) does not support this (at least to 
my knowledge).

> 
> Thank you.

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the Eric mailing list