How to setup the CFEclipse Scribble Pad
ColdFusionI have been under the impression that everyone using CFEclipse was fully aware of the Scribble Pad, but after discussions with a few people this past week, I found that a number of people had no idea it existed.
In case you have no idea what I am talking about, the Scribble Pad is a very cool little tool built into CFEclipse that allows you to test code without it being part of any other project or without having to create some 'test.cfm' file anytime you want to test a piece of code independently.
The way I like to set up the Scribble Pad is to give it its own project space, but in it does allow you to point it to any project. Here are the steps I take to set it up:
First, create a new CFML Project named Scribble. It should be noted that you can actually make your scribble pad point to any project, but I like to keep it separate and in its own space.
Now create a file in that project named Scribble.cfm. As with the project, the name can be anything you like but it makes good sense to make it easy recognizable.
Now we have to tell CFEclipse to use that project/file for the Scribble Pad. Click on Window --> Preferences on the menu bar. Then under the CFEclipse submenu, click on Scribble pad.
In the "File name to use as scribble pad." box, enter Scribble.cfm.
In the "Project to use for scribble pad." box, enter Scribble.
In the "URL to scribble file." box, enter the full "http://...." path to that template.
Click OK and you are ready to use it. Now when you are in the CFEclipse perspective you can click on the Scribble Pad icon below:
When the Scribble Pad launches you can enter any CFML code and run it in the browser below the editor.
Now, go delete all those 'test.cfm' templates!




Loading....