Community
    • Login

    function list doesn't work well for Python

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 3.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • pipielephant PiP
      pipielephant Pi
      last edited by

      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?

      NippurDeLagashN 1 Reply Last reply Reply Quote 0
      • pipielephant PiP
        pipielephant Pi
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • NippurDeLagashN
          NippurDeLagash @pipielephant Pi
          last edited by

          @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).

          1 Reply Last reply Reply Quote 0
          • NippurDeLagashN
            NippurDeLagash
            last edited by

            Reported a function list issue here:

            https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3706

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors