[Eric] Code completion's issue
zbyna
zbynek.fiala at gmail.com
Wed Feb 25 23:58:42 GMT 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
OK, it is a pity. For beginner as me is code completion very important.
I made a small research and this sort of autocompletion
is possible manage with: Spyder, PyDev, WingIDE, Pydev, Kdevelop and
WingIDE.
The best results I achieved with Spyder (rope library) and Kdevelop .
These two IDEs managed even to offer connect,disconnet and emit for
signals in Qt. Jedi library which is used experimentally in Spyder
2.3.3 can not cope with signals at present. But both rope and jedi
treat example from my previous post well.
As I said it is a pitty b/c Eric is a good IDE but according to
autocompletion I have to move on.
Good luck.
Dne 25.2.2015 v 18:43 Detlev Offenbach napsal(a):
> Hi,
>
>
>
> the auto-completion does not work dynamically, that is execute the
> code in the background to determine an objects type and contents.
> That is a known fact and will not be changed in the current
> completion providers. However, I am willing to accept a plug-in
> providing a more intelligent provider.
>
>
>
> Detlev
>
>
>
> On Wednesday 25 February 2015, 02:54:56 zbyna wrote:
>
>> Hi,
>
>>
>
>> I have following issue with autocompletion of classes:
>
>>
>
>> There is a simple script which demonstates the matter:
>
>>
>
>> class Rodic:
>
>> def __init__(self, jmeno):
>
>> self.jmenoRodice=jmeno
>
>> self.konstanta = "KOLKA"
>
>>
>
>> def prvniMetoda():
>
>> print("PrvnĂ")
>
>>
>
>> def druhaMetoda():
>
>> print("Druhá")
>
>>
>
>> class Potomek(Rodic):
>
>> def __init__(self, jmenoP, jmenoR):
>
>> super(Potomek, self).__init__(jmenoR)
>
>> self.jmenoPotomka=jmenoP
>
>>
>
>>
>
>> a = Rodic("JSEM RODIC a bez potomka ")
>
>> b = Potomek("JSEM POTOMEK b", "JSEM RODIC potomka b")
>
>>
>
>> When I type a. I would expected all properties and methods from
>
>> class Rodic. After typing b. the IDE should offer the same list
>> +
>
>> property jmenoPotomka from b. Eric offers nothing. At least to me
>> :-)
>
>> I have tried Assistant plugin too:
>
>> all option checked (from API, Document, Project)
>
>> and "Search class hiearchy" checked too. Seems like this one does
>> not
>
>> work.
>
>>
>
>> I am using :
>
>> Linux Mint 17.1
>
>> Python 3.4.0
>
>> Qt 5.4.0
>
>> PyQt 5.4
>
>> sip 4.16.5
>
>> QScintilla 2.8.4
>
>> WebKit 538.1
>
>> eric6 6.0.2 (rev. d311c814a5de)
>
>>
>
>> Thanks for help
>
>>
>
>> zbyna
>
>>
>
>>
>
>>
>
>>
>
>> _______________________________________________
>
>> Eric mailing list
>
>> Eric at riverbankcomputing.com
>
>> http://www.riverbankcomputing.com/mailman/listinfo/eric
> --
>
> Detlev Offenbach
>
> detlev at die-offenbachs.de
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBCAAGBQJU7mGtAAoJEHxvTZ+FZ7QnvDMH/0V3rmdrDM1Hb2chApfAhS/X
Yv57sYAzPiBqIMxb6c/gYZKE5d7hJiPo7Qke5BvCIYcoVVaP/3YesM9F6bVZSE3v
Q3dwTNJkTjK0D80eHUFIZUxhrf8Ma5iw9wR3lhPrfNMSwdPO4Vr38/tSk6kTgS5L
7Blxxcn88iQOge8uso+8RH9sHhyjHJH8+QFkVOYiDwdjnrPqQaVABxHNqXR6zMm4
KHpDIveqKksjiFCq93HGdxUWUjEkmmXoLxcEAmQ9DkIVm+In3agYy71JwEQ2u5pg
exo/peKpZDpHWt/1rcu4G76llzlaW1ABv7/kuTt7MPcV0elGdY5aVLvoyGPQ+3k=
=OUZp
-----END PGP SIGNATURE-----
More information about the Eric
mailing list