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

后端 未结 6 1161
小鲜肉
小鲜肉 2021-01-04 01:45

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

相关标签:
6条回答
  • 2021-01-04 02:11

    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.

    0 讨论(0)
  • 2021-01-04 02:16

    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.

    0 讨论(0)
  • 2021-01-04 02:17

    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

    0 讨论(0)
  • 2021-01-04 02:17

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

    Disclaimer: I haven't tried it myself.

    0 讨论(0)
  • 2021-01-04 02:31

    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.

    0 讨论(0)
  • 2021-01-04 02:35

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

    0 讨论(0)
提交回复
热议问题