ColdFusion language in Notepad++
I came across a post by Howard Scholz outlining how to get ColdFusion 8 language support into Notepad++. I also noted that the process seemed to be causing people some confusion so as I worked my way through it, I kept some notes and re-organized it into what I hope is easier for most people. My intention was to post these steps in the comments of the blog but for whatever reason that turned out not to work(received the message "discarded" when posting). Instead of throwing my notes away, I thought I may as well post them somewhere, so here they are.
The steps I took on windows XP
1) Download the zip file at the top of the article and extract it to your machine.
2) Click start>run and paste the following: %userprofile%/application Data/notepad++
3) Copy "shortcuts.xml" from the extracted files into the folder opened from the above command
4) Copy file "userDefineLang.xml" from the extracted files into the same folder as above.
5) In the same directory you copied the last 2 files into, create a file called "InsertExt.ini" and paste in the following:
[User Languages]
Count User Languages=2
Name 1=ColdFusion8
KeyWBodyBeg 1=
KeyWBodyEnd 1=
MatchCase 1=0
Count Comment 1=3
Comment P1.1.1=
Comment P1.2.1=
Comment P2.2.1=
Count Syntax 1=2
Syntax P1.1.1= Syntax P2.1.1=\"\t.*\>
Syntax P3.1.1=[A-Za-z]*
Syntax P4.1.1=
Syntax P5.1.1=
Syntax P6.1.1=
Syntax P1.2.1=cffunction[\t ]*name[\t ]*\=[\t ]*\"
Syntax P2.2.1=
Syntax P3.2.1=[A-Za-z_]*
Syntax P4.2.1=
Syntax P5.2.1=
Syntax P6.2.1=
6) Copy file "plugins\APIs\coldfusion8.api" from the extracted files to "c:\Program Files\notepad++\plugins\APIs\coldfusion8.api" (note that this is a different folder than the one you've been using)
Restart Notepad++ and "ColdFusion" will now be visible in the languages list (before "User Defined"), open a .cfm file and there you go.
Hopefully this will be of benefit to others