Community
    • Login

    [Request]: Open Language(s) Folder...

    Scheduled Pinned Locked Moved General Discussion
    15 Posts 4 Posters 2.1k 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.
    • Meta ChuhM
      Meta Chuh moderator @rddim
      last edited by

      @andrecool-68

      don’t worry, your post helped me think about an idea:

      @rddim

      if you want to open your language autocompletion and/or user defined language folders from the menu, and you don’t want to wait for it to be implemented, you could:

      open %AppData%\Notepad++\shortcuts.xml and add the following to your <UserDefinedCommands> section:

          <UserDefinedCommands>
      	    <Command name="Open Language Folder..." Ctrl="yes" Alt="no" Shift="yes" Key="76">"Explorer" "$(NPP_DIRECTORY)\autoCompletion\"</Command>
      		<Command name="Open UDL Folder..." Ctrl="yes" Alt="no" Shift="yes" Key="85">"Explorer" "%AppData%\Notepad++\userDefineLangs\"</Command>
      

      then restart notepad++.

      this will add the entries Open Language Folder... and Open UDL Folder... to your run menu, as seen at the screenshot below.

      Imgur

      1 Reply Last reply Reply Quote 4
      • Meta ChuhM
        Meta Chuh moderator @rddim
        last edited by Meta Chuh

        @rddim

        ps: side note, if you might use the run commands from above until your feature request is eventually implemented:

        if you want to use keyboard shortcuts for those, please adapt them at settings > shortcut mapper > run commands (or manually at the shortcuts.xml) to anything that is not in conflict with any of the existing shortcuts.

        i’ve just noticed that the ones i’ve typed above are already taken.
        my bad, sorry about this. 😳

        1 Reply Last reply Reply Quote 2
        • PeterJonesP
          PeterJones
          last edited by

          ++@Meta-Chuh,

          I’ve really got to get better about thinking about macros when trying to answer Notepad++ questions here and elsewhere. It would save me a lot of embarassing “it cannot be done, unless you do it the easy-to-implement way that I cannot see when the convoluted ways that immediately spring to my overly-convoluted mind and turn out not to work”.

          andrecool-68A 1 Reply Last reply Reply Quote 1
          • rddimR
            rddim
            last edited by

            @Meta-Chuh yes, I just adapt it, no problem :) Also in my case the Open UDL Folder... must be "$(NPP_DIRECTORY)\userDefineLangs\" instead of "%AppData%\Notepad++\userDefineLangs\". The solution is great for now, thanks :)

            Meta ChuhM 1 Reply Last reply Reply Quote 1
            • PeterJonesP
              PeterJones
              last edited by

              @Meta-Chuh,

              Since I’ve switched to portable-only at work (so everything’s in $(NPP_DIRECTORY), and don’t use the autoCompletion features at home (and I’m not at home right now to try): are autoCompletion files only in the $(NPP_DIRECTORY), or on an installed-Notepad++, can autoCompletion\ go in %AppData%\Notepad++\autoCompletion to override the $(NPP_DIRECTORY) files?

              1 Reply Last reply Reply Quote 1
              • Meta ChuhM
                Meta Chuh moderator @rddim
                last edited by

                @rddim

                ahhhhhrghh … now i’m embarrased twice in a single thread (makes it one more than you peter ;-)

                i completely forgot you are on portable, sorry 🙏

                1 Reply Last reply Reply Quote 1
                • andrecool-68A
                  andrecool-68 @PeterJones
                  last edited by

                  @PeterJones
                  It’s time to split into two separate files, Run command and Macros

                  1 Reply Last reply Reply Quote 1
                  • PeterJonesP
                    PeterJones
                    last edited by PeterJones

                    @Meta-Chuh said:

                    now i’m embarrased twice in a single thread (makes it one more than you peter ;-)
                    i completely forgot you are on portable, sorry

                    I don’t think @rddim said whether on portable or not – definitely not in this thread. And I really don’t expect you to remember how every member of the Community has their system configured, so you don’t need to remember my portable-only nature. I was asking purely for my own enlightenment, since I cannot test whether you can override autoCompletion on installed right now. If you don’t know, I can test it at home tonight. :-)

                    @andrecool-68

                    It’s time to split into two separate files, Run command and Macros

                    Urgh, you’re right. These were Run commands, not Macros. I need to think of both, really. And keep them separate in my head. (@meta-chuh: happy? I’ve had my second embarrassment in this thread now. 🤦‍♂️)

                    Meta ChuhM 1 Reply Last reply Reply Quote 2
                    • rddimR
                      rddim
                      last edited by rddim

                      @Meta-Chuh said:

                      i completely forgot you are on portable, sorry 🙏

                      Hehe, don’t worry, your post is good enough for me: I have a choice of solutions and a new knowledge :)

                      1 Reply Last reply Reply Quote 1
                      • Meta ChuhM
                        Meta Chuh moderator @PeterJones
                        last edited by Meta Chuh

                        @PeterJones

                        so you don’t need to remember my portable-only nature.

                        it’s futile to try to prevent me from that … so resistance is futile 🖖😈🤚

                        happy? I’ve had my second embarrassment in this thread now.

                        thank god … vive l’egalite 😂😂😂

                        ps: i just tried it and moved $(NPP_DIRECTORY)\autoCompletion to %AppData%\Notepad++\autoCompletion, and it gets completely ignored.
                        so currently $(NPP_DIRECTORY)\autoCompletion is the only valid location.
                        (i didn’t know that before)

                        @rddim

                        today seems to be a day of new knowledge for all of us 😉👍

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