How can I share a USER DEFINE LANGUAGE with other people using Notepad++ without reconfiguring it by hand.
In other word, where does Notepad++ save all the laguage I define. Does it create a new file under c:\Program Files\Notepad++\lang.xml or does it save the information in the Windows Regestry ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, all files called userDefineLang_XXX.xml
like userDefineLang_autoit.xml and
userDefineLang_autohotkey.xml
found in the np++ folder
should be automaticly joined together to one
userDefineLang.xml file.
I have found the trick how to use more then
one userDefineLang_XXX.xml file:
1.) copy all userDefineLang_XXX.xml files
into ONE userDefineLang.xml file.
2.) then delete all this
</NotepadPlus>
<NotepadPlus>
between the single user language definitions.
3.) restart np+++
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How can I share a USER DEFINE LANGUAGE with other people using Notepad++ without reconfiguring it by hand.
In other word, where does Notepad++ save all the laguage I define. Does it create a new file under c:\Program Files\Notepad++\lang.xml or does it save the information in the Windows Regestry ?
1. type %APPDATA%\Notepad++ in Run box, then Enter, there'll be a opened folder appears.
2. In the opened window, you'll found out a file named "userDefineLang.xml". Copy it.
3. Do the same procedure 1. to the PC destination.
Copy the "userDefineLang.xml" into the opened folder.
4. relaunch Notepad++ from the destination PC et voila.
Don
That's great...but what if you have more than one and may want to distribute them individually.
You clearly can't have *userDefineLang.xml or userDefineLang*.xml cuz NP++ can't see it.
Can you separate the UserDefineLang into separate files and allow for the filename to contain some identification as to what it is?
Hi There,
How to add a new language?
I use NP++ 4.1.2
Thanks,
Toan.
Yes, all files called userDefineLang_XXX.xml
like userDefineLang_autoit.xml and
userDefineLang_autohotkey.xml
found in the np++ folder
should be automaticly joined together to one
userDefineLang.xml file.
I have found the trick how to use more then
one userDefineLang_XXX.xml file:
1.) copy all userDefineLang_XXX.xml files
into ONE userDefineLang.xml file.
2.) then delete all this
</NotepadPlus>
<NotepadPlus>
between the single user language definitions.
3.) restart np+++
Mine requires the name to be userDefineLang.xml and place into the APPDATA folder