function list doesn't work well for Python
-
if more than three classes in a single, the last class will not show up in the
function list. Look like a bug. Anyone has similar issues? -
ok, figured out the problem. it is not an issue of the number of classes.
You must make sure the last line of your file is “not indented”, else Npp
will not consider it as a class.Hopefully this bug can be fixed in next release.
-
@pipielephant-Pi said:
if more than three classes in a single, the last class will not show up in the
function list. Look like a bug. Anyone has similar issues?Yes. Sometimes, derived classes do not have all methods listed correctly. It was something like
class DerivedClass(BaseClass):
class DerivedClass (BaseClass):
The first line works well, the second does not. The only difference was the extra space between DerivedClass and (BaseClass).
-
Reported a function list issue here:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3706