There is an easy and simple way how to "emulate" abstract classes in python, see the attached source file. I have no
problem with code completion inside or outside abstract class body using pyDev, the screenshots attached. While invoking
code completion using NBPython, there is something wrong while ide is parsing file, it shows error annotation icon and
Steps to reproduce:
- open testers.py source file
- add new line to method setInfo(), type "self." and invoke code completion
- delete changes and go to at the and of last line
- add "." and invoke code completion
Created attachment 72376 [details]
Created attachment 72377 [details]
Created attachment 72378 [details]
Created attachment 72379 [details]
Created attachment 72381 [details]
Product Version: NetBeans IDE 6.5 RC1 (Build 20081020164434)
Java: 1.6.0_10-rc2; Java HotSpot(TM) Client VM 11.0-b15
Python: jython 2.5a3+
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
No need to invoke code completion dialog, it shows errors while typing "." char.
Not sure it is still relevant with the current version. Closing this as old bug. If this is still a thing, please reopen and accept my apologies.
Thanks for your evaluation Julien. Closing then.