Community
    • Login

    Function List option for different Keywords

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 3 Posters 4.4k Views 2 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.
    • Gopi EinsteinG Offline
      Gopi Einstein
      last edited by Gopi Einstein

      In Notepad++ there is option “Function list” which show the list of function in our C program. Actually it is working with a concept of parsing “void … etc” for extracting a function but unfortunately in my code the function or sub function or API shall not start with “void” keyword instead it is starting with “FUNC” or “STATIC FUNC” keyword. Notepad function list option is not able to find this kind of function.

      I have searched in internet and found that XML code in functionlist.xml files of notepad installed is responsible for that functionality then i start to edit that regular expression but everything failed.

      Please provide the solution to fix the issue or let me know where to modify the code in functionlist.xml files.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @Gopi Einstein
        last edited by

        @Gopi-Einstein

        with default function list configuration

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Gopi EinsteinG Offline
          Gopi Einstein
          last edited by

          Sorry For the unclear information. please find the exact function i am using in Notepad++

          FUNC (void, public) Init (config, value)
          {
          /* code part */
          }

          FUNC (void, public) is an Macro.

          But this above mentioned function format is not recognized. Kindly provide your feedback on this.

          Advance thanks.

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC Offline
            Claudia Frank @Gopi Einstein
            last edited by

            @Gopi-Einstein

            depending on your installation the file which needs to be edited is either the one under %APPDATA%\notepad
            or the one in the installation directory. If your ?->Debug Info tells you
            Local Conf mode : OFF then it is the one under %APPDATA%, if it is
            Local Conf mode : ON then it is the one under the installation directory.
            Open the respective file and goto the c_function element.
            mainExpr and nameExpr are the regexes you need to modify to adapt it to your needs.

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • Gopi EinsteinG Offline
              Gopi Einstein
              last edited by Gopi Einstein

              I have found out the location of mainExpr and nameExpr but i am totally confused with this regular expression more over i don’t have any experience with it. I don’t know exactly what to modify.

              If possible, Please provide what exactly i have to change here so that i can parse those function format.

              Thanks in advance.

              Claudia FrankC 1 Reply Last reply Reply Quote 0
              • Claudia FrankC Offline
                Claudia Frank @Gopi Einstein
                last edited by

                @Gopi-Einstein

                so what is the exact syntax a can have? (needed and optional parts?)

                Cheers
                Claudia

                1 Reply Last reply Reply Quote 0
                • GopiEinsteinG Offline
                  GopiEinstein
                  last edited by

                  wwhat are you doing you don’t know about me

                  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