Community
    • Login

    Function List no longer works

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    16 Posts 5 Posters 5.9k 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.
    • Steve TS Offline
      Steve T
      last edited by

      I created the folder and copied the functionList.xml file from Program Files\Notepas++ to it. Then I closed and restarted notepad++.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @Steve T
        last edited by

        @Steve-T said in Function List no longer works:

        I created the folder and copied the functionList.xml file

        I guess you didn’t understand what I was explaining: You need to copy all the individual <exedirectory>\functionList\*.xml files into %AppData%\Notepad++\functionList\*.xml . It’s not just one file; it’s one file per programming language, plus a map file. Just copy them all, in bulk.

        1 Reply Last reply Reply Quote 0
        • Alan KilbornA Offline
          Alan Kilborn
          last edited by Alan Kilborn

          Wah! Wah!
          Just make my feature work! :-)
          (At least that’s the feeling I get)

          @Steve T
          Sometimes functionality changes for the better, and you actually have to dig into the details of making something work. Sorry, but that’s the way things are.
          Listen to @PeterJones (carefully). He’ll spoon feed ya.

          1 Reply Last reply Reply Quote 1
          • Steve TS Offline
            Steve T
            last edited by

            Correct, I didn’t understand. The directory now contains functionList.xml, langs.model.xml, shortcuts.xml, and stylers.model.xml. That’s all the xml files in Program Files\notepad++. Closed notepad++. Reopened notepad++. Still no function list.

            PeterJonesP 1 Reply Last reply Reply Quote 0
            • PeterJonesP Offline
              PeterJones @Steve T
              last edited by PeterJones

              @Steve-T ,

              No. You still don’t understand. You are not copying the right files into there yet. When I said <exedirectory>\functionList\*.xml, I meant c:\program files\Notepad++\functionList\*.xml – notice the folder named functionList in that path.

              Look in c:\program files\notepad++\ – if you’re really on v7.9.1, there should be a folder called functionList. I am NOT talking about the file called functionList.xml – I am talking about a folder. Copy that entire folder. Go to %AppData%\Notepad++, paste the folder in there. There should now exist %AppData%\Notepad++\functionList\ folder, with about 27 files, each named after a different programming language.

              f17b6739-8953-49ce-a0e3-9aa80625bff8-image.png

              If you still don’t understand which files I am talking about, open up your Windows Explorer, go to c:\program files\Notepad++, and do a Alt+Printscreen of that directory; paste it in your reply. Then do a Alt+Printscreen of your %AppData%\Notepad++ folder, and paste it in your reply. This will give us a common baseline for communication.

              1 Reply Last reply Reply Quote 1
              • Steve TS Offline
                Steve T
                last edited by

                There is no folder named functionList in Program Files. All the xml files are in the same folder as the exe.

                c5f59659-a563-4140-b872-870aff3a8862-image.png

                PeterJonesP 1 Reply Last reply Reply Quote 0
                • PeterJonesP Offline
                  PeterJones @Steve T
                  last edited by

                  @Steve-T ,

                  So you’re saying that when you upgraded to Notepad++ v7.9.1, it didn’t even put the functionList folder in the executable directory, let alone in the %AppData%\Notepad++\functionList ? It’s worse than I thought.

                  Please download v7.9.1 portable zip, open the zipfile, and copy the functionList folder (including all its contents) into c:\program files\notepad++, so that there will be a functionList subfolder in the program files\notepad++ folder. Then copy that folder (and all its contents) into %AppData%\Notepad++\functionList

                  Looks like when I get home tonight, I am going to have to explore what happens when I upgrade my v7.9 to v7.9.1 installation (since my daytime computer just uses portable, and I don’t then see what the installer does). If I can replicate your installation/upgrade’s poor behavior, I will put in the bug report myself.

                  1 Reply Last reply Reply Quote 2
                  • Steve TS Offline
                    Steve T
                    last edited by

                    That worked. Thank you.

                    PeterJonesP 1 Reply Last reply Reply Quote 1
                    • PeterJonesP Offline
                      PeterJones @Steve T
                      last edited by

                      @Steve-T ,

                      Glad it worked.

                      Future Interested Readers,

                      I ran the experiment on an older computer: it previously had v7.7 installed, and I upgraded to v7.9.1.

                      1. I am doing the installation as user “Kids”, which is a member of the Admins group (though the kids don’t know it), so it allowed me to do the installation
                      2. During the upgrade install, it had a checkbox (default on) to install the Function List Files. This needs to be on. You can see behind the install window that neither my AppData nor my Program Files Notepad++ folder has a functionList subfolder yet.
                        bc11fa51-870e-45c7-975f-7d5fd116f777-image.png
                      3. After I complete the installation, you can see that the AppData does have the functionList folder, but the Program Files does not.
                        a7383ec8-1c29-4e29-b1ed-f51e23531705-image.png
                      4. When I pick a functioned language (Perl), the function list works.
                        def4f334-e67c-4fcb-9e7e-653356202872-image.png
                      5. I then swapped to my “Peter” account
                        f73460e9-cc43-4bb8-885a-776a9a4a5c72-image.png – when I run Notepad++ then open the AppData folder, it does not create or populate the functionList subfolder, and the function list feature does not work.

                      So, now that I see how it actually works, I have enough that I will put in a bug report. I will paste a link to the report after it’s created.

                      PeterJonesP 1 Reply Last reply Reply Quote 3
                      • PeterJonesP Offline
                        PeterJones @PeterJones
                        last edited by

                        @PeterJones said in Function List no longer works:

                        I have enough that I will put in a bug report. I will paste a link to the report after it’s created.

                        Actually, someone else already described that behavior = issue#9134

                        1 Reply Last reply Reply Quote 0
                        • Wolfram GreipelW Offline
                          Wolfram Greipel
                          last edited by

                          Hello, I can confirm the problem.
                          While doing the upgrade I can’t remember to be asked (Checkbox) for installing “function list files” - I think that would have been noticed, because the “function list feature” is a well known and often used function for me. -> Result: No “functionList”-folder in the installation directory after update (c:\Progs\Notepad++ in my case), also nothing in “AppData\Roaming\Notepad++” where it has to be (I know now).
                          I have a Win10 Pro 64bit (v20H2) Workstation here and the domain user I’m logged in has almost 100% admin right’s on that machine.
                          (P.S.: But it’s the 32bit-Version of Notepad++ -> can there be any correlation?)
                          Thanks for the good explanation - for the moment this bugfix helped me! ;-)

                          1 Reply Last reply Reply Quote 0
                          • donhoD Online
                            donho
                            last edited by

                            FYI:
                            https://github.com/notepad-plus-plus/notepad-plus-plus/commit/814e6591b5c37da7c6d84c4b67a6e73d645a318f

                            1 Reply Last reply Reply Quote 2

                            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