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

北城以北 提交于 2019-11-30 17:25:50
orangepips

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

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

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.

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.

This link might help: http://howardscholz.wordpress.com/2007/06/01/notepad-support-for-coldfusion-8/

Disclaimer: I haven't tried it myself.

I found that nppColdFusion was working well, until I updated NP++ to version 7.6.6. I have tried just about everything to get it working, but to no avail.

I tried Delire Web's solution and it worked perfectly.

The different formatting (font and background colors) takes a bit of getting used to though.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!