[Request]: Open Language(s) Folder...
-
@rddim said:
userDefineLangs
It turns out I did not understand the meaning of the question …it’s about a new key)))
-
Thank you very much @PeterJones
The request is here: issue#5404
-
don’t worry, your post helped me think about an idea:
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...
andOpen UDL Folder...
to your run menu, as seen at the screenshot below. -
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. 😳 -
++@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”.
-
@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 :) -
Since I’ve switched to portable-only at work (so everything’s in
$(NPP_DIRECTORY)
, and don’t use theautoCompletion
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++, canautoCompletion\
go in%AppData%\Notepad++\autoCompletion
to override the$(NPP_DIRECTORY)
files? -
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 🙏
-
@PeterJones
It’s time to split into two separate files, Run command and Macros -
@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, sorryI 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. :-)
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-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 :)
-
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)today seems to be a day of new knowledge for all of us 😉👍