• Login
Community
  • Login

Importing the Coldfusion User Defined Language fails

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
6 Posts 3 Posters 2.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    Chris Gaelic
    last edited by May 26, 2018, 10:12 AM

    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.

    C 1 Reply Last reply May 26, 2018, 10:38 AM Reply Quote 0
    • C
      Claudia Frank @Chris Gaelic
      last edited by May 26, 2018, 10:38 AM

      @Chris-Gaelic

      which file from where downloaded?

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      • C
        Chris Gaelic
        last edited by May 26, 2018, 9:10 PM

        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.

        C 1 Reply Last reply May 26, 2018, 11:19 PM Reply Quote 0
        • C
          Claudia Frank @Chris Gaelic
          last edited by May 26, 2018, 11:19 PM

          @Chris-Gaelic

          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
          the xml.

          Cheers
          Claudia

          1 Reply Last reply Reply Quote 0
          • C
            Chris Gaelic
            last edited by May 29, 2018, 4:34 AM

            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.

            1 Reply Last reply Reply Quote 1
            • C
              cipher-1024
              last edited by May 29, 2018, 4:18 PM

              @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”.

              1 Reply Last reply Reply Quote 0
              3 out of 6
              • First post
                3/6
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors