Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trying to find a syntax highlighter for ColdFusion in Notepad++

I use CFEclipse for most of my projects and heavy lifting but sometimes I find the need to do a quick fix on pages outside the project scope that is easier to accomplish in a simple text editor.

I have googled but can't seem to find an answer so either a link to a download or a link to how to build my own would be awesome. thanks.

like image 767
Michael BW Avatar asked Nov 16 '10 13:11

Michael BW


People also ask

Does Notepad have syntax highlighting?

Like other text editors, Notepad++ (which is recommended by the basic tutorial) uses a system called Syntax Highlighting which helps in coding by visually identifying different parts of code with color.

How do you highlight keywords in Notepad ++?

if you like to highlight words or sections temporarily, go to the menu search > mark , enter a text to highlight, and press mark. if you have about the same repeating keywords every time, you can create a user defined language at the menu language > define your language > create new .


4 Answers

Update: Brien Malone's answer below along with charlie arehart's comments are what people should use at this point as nppColdFusion is no longer maintained as of 23 Sept 2011.

Disregard

nppColdFusion is actively maintained

like image 103
3 revs, 2 users 83% Avatar answered Sep 22 '22 19:09

3 revs, 2 users 83%


In notepadd ++, go to 'Plugins'> 'Plugin Manager'> 'show plugin manager'. 'Coldfusion Lexer' is listed as available plugin

like image 23
Antonio Avatar answered Sep 20 '22 19:09

Antonio


This question is a few years old now, and unfortunately, the accepted answer involving nppColdFusion is no longer valid because the plug-in doesn't work with NP++ after version 5.x.x and is not being maintained. (It stopped working when Notepad++ switched their plug-in hooking mechanism in version 6.x.x)

The Notepad++ site points to a library of nearly every language highlighter available: http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Language_Files

ColdFusion (specifically CF9) is listed: http://notepad-plus.sourceforge.net/commun/userDefinedLang/userDefineLang_CF9.xml

It's not as good as a full plug-in like nppColdFusion, but it is better than pages of black text.

like image 28
Brien Malone Avatar answered Sep 22 '22 19:09

Brien Malone


Just a comment about Tony's answer (Aug 22 '14 at 13:00) : he wrote "In notepadd ++, go to 'Plugins'> 'Plugin Manager'> 'show plugin manager'."

However, in ver. 6.8 (maybe since before), there's no "Plugins" menu item on the menu bar. What I had to do is: 1- From the User Defined Language Page http://docs.notepad-plus-plus.org/index.php?title=User_Defined_Language_Files Download the ColdFusion User Defined Language file http://notepad-plus.sourceforge.net/commun/userDefinedLang/userDefineLang_CF9.xml Into the Notepad++ Folder

2- From the User Defined Language panel, import that file: Language > Define your language... then press the Import button

ColdFusion will then appear at the bottom of the Language menu item selection list, and NotePad++ will automatically use it for any .CF file you open.

like image 32
Delire Web Avatar answered Sep 21 '22 19:09

Delire Web