Community
    • Login

    Importing the Coldfusion User Defined Language fails

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 3 Posters 2.8k Views 2 Watching
    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.
    • Chris GaelicC Offline
      Chris Gaelic
      last edited by

      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.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @Chris Gaelic
        last edited by

        @Chris-Gaelic

        which file from where downloaded?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Chris GaelicC Offline
          Chris Gaelic
          last edited by

          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.

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC Offline
            Claudia Frank @Chris Gaelic
            last edited by

            @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
            • Chris GaelicC Offline
              Chris Gaelic
              last edited by

              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
              • cipher-1024C Offline
                cipher-1024
                last edited by

                @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

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors