Community
    • Login

    function list doesn't work well for Python

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 3.7k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors