ColdFusion Lexer and NPP after (7.5.9)
- 
 Hello @Mike-Graham In my case it run only in x86 version of N++. I didn’t use ColdFusion plugin and I don’t know for what is it and how to use it. Step 1- Download some portable Notepad++ package 32-bit x86
- Download nppColdFusion-0.8.1.zip
- Download sqlite-dll-win32-x86-3070701.zip
 Step 2- Extract every archive
 Step 3- Create a folder named nppColdFusionin\npp.7.7.bin\pluginsdir- Place the extracted nppColdFusion.dllfile in that folder (i.e in\npp.7.7.bin\plugins\nppColdFusion)
 
- Place the extracted 
- Place the nppColdFusion.db3andnppColdFusion.xmlfiles fromconfigfolder in the\npp.7.7.bin\plugins\Config
- Place the extracted sqlite3.defandsqlite3.dllfiles in the Notepad++ directory (not the plugins one) - as it is mentioned at the Wiki page of the ColdFusion plugin - i.e. in\npp.7.7.bindir (where thenotepad++.exelives)
 
- 
 With the old PluginManager it was possible to declare a plugin package as a library and to define a dependency to such a library in other plugins. This is also the case with the ColdFusion Lexer plugin, it depends on the SQLite package. The ColdFusion Lexer plugin wants a certain version of SQLite which can be downloaded >>> here <<<. It’s a ZIP file that contains the file sqlite.dll. Unpack that file to your Notepad++ installation directory, i.e. where your notepad++.exe resides. The ColdFusion Lexer plugin package can be downloaded >>> here <<<. In your Notepad++ plugins directory create a folder named nppColdFusion(i.e. with exactly the same name like the plugins DLL file name excluding the.dllextension) and unpack the filenppColdFusion.dllto that folder. Furthermore the plugin package contains a folder namedconfigcontaining the filesnppColdFusion.db3andnppColdFusion.xml. Unpack these two files to your Notepad++ plugins config directory. For a local installation this is%AppData%\Notepad++\plugins\configand for a portable installation this is<Notepad++-dir>\plugins\config.@rddim 
 Oh, to late. Was only able to see your posting after I had posted.
- 
 @rddim can you clarify: Are you saying that the portable version is required to make the CFML lexer work? (I’m not able to get it working using your instructions; I’m using the 32-bit installer-based version, since I also rely on other plugins that only work in 32 bit.) 
- 
 Nevermind, figured out the problem: Does not associate file extensions by default. (Now to figure out how to make that work again.) 
- 
 No, the portable version is not required. I just use it for the testing, because it is more easy. Also in my life I never used an installer-based version. So you can try the @dinkumoil’s explanation, but please note that the SQLite version in my post is different. I just follow the instructions from CFML repo. I hope you can find a sollution. 
- 
 @rddim said: but please note that the SQLite version in my post is different I’ve used the link to SQLite which I found in old PluginManager’s XML plugin list. 
- 
 Tried steps above several times. 
 Tried .xml and .db3 in config, in plugins and in nppColdfusion. Get a consistent error loading a .cfm file of:
 “nppColdFusion Error
 ListAll tags length is 0
 OK”
 No indication of plugin working. Notepad++ 7.5.9 (32bit)
- 
 It sounds like some folks have managed to get nppColdFusionworking by changing the folder structure, and others (including myself) find Notepad++ crashing even when we follow those instructions scrupulously.I’ve found an alternative to share for those in the latter group (and, perhaps, everyone): Downloading a UDL (User Defined Language) file from Notepad++ directly. Steps as I followed them are: - Navigate to the User Defined Language Files page at http://docs.notepad-plus-plus.org/index.php/User_Defined_Language_Files.
- Scroll down to “Coldfusion” [sic], right-click on it, and “Save Link As…” to some location on your hard drive. (“Save Link As…” is the wording in Firefox; it may be slightly different in other browsers.) The default name of the file will be userDefineLang_CF9.xml.
- Open Notepad++ and select “Language > Define Your Language…” from the menu.
- Click the “Import…” button, and select the userDefineLang_CF9.xml file you just saved.
- At that point, exit from the User Defined Language dialog and Notepad++ entirely. (There should be no need to save the file after importing it; saving it should be automatic even though it doesn’t yet appear in the list under “Languages”.)
- Re-open Notepad++. Now, you should see “ColdFusion” under the “Language” menu (at the bottom – not under the letter C).
- Open a *.cfmor*.cfcfile, and you will find it code-highlighted.
 
- 
 @Joe-DeRose Would you be able to post that XML file? The link you specified in step 1 doesn’t appear to be available anymore. 
- 
 @Michael-Benoit , the user @Joe-DeRose hasn’t been here since that single post. In the intervening 8 months, that old collection has been moved to https://github.com/notepad-plus-plus/userDefinedLanguages, and the specific file he mentioned is 
 https://raw.githubusercontent.com/notepad-plus-plus/userDefinedLanguages/master/UDLs/ColdfusionCF9_bySpenster.xml

