I have created a fairly simple user-defined language in Notepad++, and given it an associated extension. But, when I open files I have named with that extension, nothing happens. No syntax highlighting, or comment highlighting.
Any idea what I have done wrong?
The settings for the extension do not have a leading "."
, as specified in the Notepad++ docs.
Import a UDLCopy the XML into the appropriate userDefineLangs subfolder. Exit all instances of Notepad++ and reload, then the new UDL will be available. Use the Import… button, navigate to the source XML, and the UDL will be immediately available.
If you create a UDL using the User Defined Language dialog, it puts it them all in the single-file %AppData%\Notepad++\userDefineLang. xml (you can just paste that into Open Dialog or Explorer 🛈).
This has been fixed, so I guess the whole question could be closed or deleted. I'm not sure in which version they fixed it, but in the latest v6.5.1 everything works as intended.
Language > Define your language...
Ext.
text box add your desired extension with no leading "." and space separated if you have multiple extensions.userDefineLang.xml
usually stored in your %APPDATA%\Notepad++\
folder.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With