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

二次信任 提交于 2019-11-30 16:38:28

问题


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.


回答1:


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




回答2:


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




回答3:


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.




回答4:


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.




回答5:


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

Disclaimer: I haven't tried it myself.




回答6:


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.



来源:https://stackoverflow.com/questions/4194904/trying-to-find-a-syntax-highlighter-for-coldfusion-in-notepad

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