ColdFusion Lexer and NPP after (7.5.9)
The ColdFusion Plugin by Ben Bluemel work fine up to Version 7.5.9 (32 bit) bit I cannot get it to work on any later versions. The instructions for 7.6 advise to make a folder under plugins but that does not work for me. Unfortunately Ben has defected to using sublime so is no longer supporting the ColdFusion plugin.
Does anyone know how to get the ColdFusion plugin working again?
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.
- Download some portable Notepad++ package 32-bit x86
- Download nppColdFusion-0.8.1.zip
- Download sqlite-dll-win32-x86-3070701.zip
- Extract every archive
- Create a folder named
- Place the extracted
nppColdFusion.dllfile in that folder (i.e in
- Place the extracted
- Place the
configfolder in the
- Place the extracted
sqlite3.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 the
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 file
nppColdFusion.dllto that folder. Furthermore the plugin package contains a folder named
configcontaining the files
nppColdFusion.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
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.
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:
ListAll tags length is 0
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
*.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.
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