Homemade UDL location
-
Hi there,
I defined my own language:
Language -> User Defined Language -> Define your language…It show in the User language list, I can use it. But it does not show up in the “User Defined Language folder” (C:\Users\me\AppData\Roaming\Notepad++\userDefineLangs)
I could export it and add it again in this folder… But where is it now? Why is it not is this folder?
Image example : https://i.imgur.com/WfZKkU3.png
Thanks
-
@Sayanel01 said in Homemade UDL location:
I could export it and add it again in this folder… But where is it now? Why is it not is this folder?
it’s in the
C:\Users\me\AppData\Roaming\Notepad++\userDefineLang.xmlfile instead. That’s where UDL go when you create them from inside Notepad++. (The userDefineLangs subfolder is a relatively-recent addition to the UDL interface; when that directory was added, the developer didn’t change where a new UDL gets saved initially. This means that, by default, if you create all your UDL from inside Notepad++ like a normal user, they will all be stored in that one file, rather than in separate files in the subfolder. My personal opinion is that this was a bad design choice by the Developer, but it’s not broken, just annoying, so I live with it.)My steps when I create a new UDL:
- Develop the UDL from inside Notepad++ GUI and Save as… to give it a name.
- Use the Export button to save it in my equivalent of
C:\Users\me\AppData\Roaming\Notepad++\userDefineLangs(which is generically 🛈 referenced as%AppData%\Notepad++\userDefineLangs\or the...\userDefineLangs\directory in the approriate one of the portable or cloud configuration or-settingsDirfolder) - Counter-intuitively: use the Remove button to delete the UDL from the old-style userDefineLang.xml
- Close Notepad++
- Run Notepad++ to get it to re-read the config files, including the UDL.
At this point, your UDL is in a separate file in the subfolder instead of in the combined file. Any changes you make to it will be correctly saved in the file in the subfolder.
-
@PeterJones Clear and perfect explanation, thank you!
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