Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
I prefer not to take my hands off of my keyboard, if I can avoid it. So, I tend to use a lot of shortcut keys. Unfortunately, when I first started with CFBuilder, some of the shortcuts weren't quite to my liking. You can change the keyboard shortcuts for ColdFusion Builder by going to the Preferences, and in the filter, type Keys. Now, you are going to get two sets of keyboard shortcuts. The first are general keyboard shortcuts, which apply to the entire Eclipse IDE. This means that these shortcuts will apply in ColdFusion Builder, Flex Builder, or any other plug-in that you have installed into Eclipse.
Now, there are a ton of keyboard shortcuts here. My suggestion to you would be to go through this list and see which shortcuts you like, make note of them, and commit them to memory. If they are not quite to your liking, you can select each one, and in the Binding section, you can type in a new shortcut. If that shortcut conflicts with anything, you will see the conflict over here in the Conflicts window. You can also export all of these keyboard shortcuts to a CSV file, so you can go through them and perhaps make a cheat sheet to put on your desk.
Let's go back and look specifically at some ColdFusion Builder keyboard shortcuts. Here, you can see all of the shortcuts for inserting ColdFusion code quickly and easily. For instance, doing a cfabort tag or cfdump, which I do quite a bit when I am doing my debugging. So, these are two that you are going to want to remember. Also, wrap in pound signs Shift+ Command or Shift+Ctrl+H, or cfoutput tags, double quotes and single quotes.
All of these are actions and code that you are going to be doing all day long.
So, let's play with a couple of these and see how they work.
I am going to play with the cfset and the cfdump keyboard shortcuts.
Let's click OK and open up our FileTest.
Let's delete what I have in here and start over.
So, the first thing I am going to do is insert a cfset tag by pressing Command
or Ctrl and the equal sign.
It inserts a cfset tag, and I am ready to start typing.
So, I will do
Now, another thing I can do is if I hold down the Shift key and press Enter, it will actually put me on a new line, even if my cursor is in the middle of a tag. So, Shift+Enter moves me to a new line, and now I can actually dump the value inside Foo. If I want to, I can just type the word Foo and highlight it, and press Shift+Command or Shift+Ctrl+D, and it will wrap the cfdump tag around my variable with pound signs. I can press Shift and Enter again, press Ctrl +Command+A and it will insert a cfabort tag.
So, as you can see, I can do a lot of coding very, very fast, if I can spend a little bit of time to get those keyboard shortcuts committed to muscle memory. That's about all there is to the keyboard shortcuts. As you go through and set keyboard shortcuts to your liking, be sure you test as you go, to make sure that your shortcuts don't conflict with any of the existing Eclipse shortcuts.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 97106 Viewers
61 Video lessons · 84412 Viewers
71 Video lessons · 68620 Viewers
56 Video lessons · 101108 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.