Menu

Notepad++ and ColdFusion

2007-05-21
2012-11-14
  • Marty Schleiff

    Marty Schleiff - 2007-05-21

    Hi All - I'm a Notepad++ newbie. I cannot seem to understand the provided instructions for getting Notepad++ to recognize ColdFusion code. has anyone accomplished this, and can you please help me? Thanks,

     
    • Nobody/Anonymous

      Here's the FAQ on it:
      How can I share MY DEFINED LANGUAGE (or my syntax highlighting) with the others?

      Follow the instructions below :

         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.

      For sharing the syntax highlighting, follow the same procedure but replace userDefineLang.xml by stylers.xml.

      It's from here: http://notepad-plus.wiki.sourceforge.net/FAQ

      TIP:  Use cfscripting so you can fold code.  :)

       
    • Nobody/Anonymous

      Just put the "userDefineLang.xml" in the folder where the configuration files are for your computer account (this is not where the notepad program is stored).

      For mine, it is C:\Documents and Settings\Administrator\Application Data\Notepad++ .

      There is one done already for coldfusion which you can download from sourceforge.  I have already created one, both for "cfm" and "cfc" with ".cfm" and ".cfc" extensions.

      Hope it helps.

       
  • Rick Gerlach

    Rick Gerlach - 2010-03-09

    I apologize for resurrecting an old thread, or if this has been posted elswhere. Here's some instructions that I worked up for Windows 7 and NP++ 5.6.8. Should work on Vista as well. This was all started here: http://howardscholz.wordpress.com/2007/10/13/cf8-in-notepad-continued/

    His instructions were for an older version of NP++, so I sorted out what goes where to make it work for NP++ 5.6.8. These instructions assume you have the files in CF8NPP.zip from his post.

    In your %appdata%\Notepad++ (Username\AppData\Roaming\Notepad++) folder, place the following files:

    help\ColdFusion8Reference.chm - right-click on it and Unblock it once you copy it.
    InsertExt.ini
    shortcuts.xml - you may want to merge this with yours if you have customized shortcuts. This gives you the ability to
    look up the current word in LiveDocs by hitting Alt + F1.

    userDefineLang.xml - This identifies keywords for color coding syntax.

    Install the LanguageHelp plugin. Setup the extensions in the Plugin options and provide the path to the help file you just installed.

    In your C:\Program Files\Notepad++\plugins\APIs folder, add:

    Coldfusion.xml - this is an XML list of keywords for auto-completion.

    You can find it attached to this post:

    http://sourceforge.net/tracker/?func=detail&aid=2966753&group_id=95717&atid=612385

    Hope that's helpful to someone.

     
MongoDB Logo MongoDB