Importing the Coldfusion User Defined Language fails
I’ve just installed Notepad++ (latest release) and attempted to import the Coldfusion UDL, but got a ‘Fail to import’ error. I had copied the xml for the UDL into a text file in the Documents folder with the filename userDefineLang.xml. I also tried just copying the file into the c:\Program Files\Notepad++ folder and restarting Notepad++, but to no avail.
Any help much appreciated.
which file from where downloaded?
I opened the xml file on the user defined language page as in http://notepad-plus.sourceforge.net/commun/userDefinedLang/userDefineLang_CF9.xml. I then copied the contents of the file and pasted it into a new text file with the same name in my computer’s documents folder.
ok - can be imported, what I’ve done is
- downloaded and saved it as C:\temp\coldfusion.xml,
- then I started UDL and pressed import button and selected the xml
- done -> import successful
If this doesn’t work for you I assume that something goes wrong while pasting/saving
Thanks for your help Claudia. I finally realized what I did wrong - used Ctrl A to select the xml inside the language file, and it included the statement at the top:
“This XML file does not appear to have any style information associated with it. The document tree is shown below.”
When I removed that, it worked fine.
@Chris-Gaelic, looks like you got that sorted, but just FYI, there’s a plugin called “ColdFusion Lexer” that does syntax highlighting and also adds some minor things like “wrap in CFdump”, and “wrap in CFComment”.