How to assign user language as default
-
Hi all
I am using Notepad++ 6.7.8.2
I have imported asciidoc as an user defined language.
I cannot see how to have that UDL activated by default and how I could automatically assign it to *.adoc file extension.
Thanks for your help
Jacques -
In the UDL window (Language > Define Your Language) there’s a field near the top marked "Ext. ". Type in the file extension you want to be associated with your UDL. You can use a common one like txt, or make up your own - but don’t include the dot.
In your case, just enter adoc.
As for how to make N++ start in a UDL - I don’t think there is a way to do that.