Domanda

At home, I am using ColdFusion Builder 1.0

When I have a file open and press ctl+shift+O, it outputs this

<cfoutput></cfoutput>  or writeOutput();

When I have a file open and press ctl+shift+a, it outputs this:

<cfabort> or abort:

When I have a file open and press ctl+shift+d, it outputs this:

<cfdump var=""> or writeDump():

At work, I am using ColdFusion Builder 2.0.1. None of "features" described above work. I want to get them to work. What are the features called? Shortcuts? Do I need to download and install them separately? I have searched everywhere to find out how to make this happen and have had no luck. Please advise.

È stato utile?

Soluzione

I believe what you are looking for is referred to as "keys" under the preferences in ColdFusion Builder. Click on the "Window" menu, then click on "Preferences". This opens a new Preferences window. In the left side navigation expand "General" and click on "Keys". On the right side you will see a list of all the predefined keyboard short-cuts (that is my terminology for it).

There is also another "Keys" option in the preferences under "ColdFusion", and then "Profiles". This is a shorter list than the other.

Also on the right side of that preferences window is a filter box. If you type in that box it will search the string for you. So, for example, you can type "cfabort" in that box and it will show you the entry for that: Ctrl+T A.

For what it's worth, your shortcuts did not work for me either in ColdFusion Builder 2. I did some searching and found the following ColdFusion Builder 2 documentation page mentioning that some keyboard shortcuts were changed from ColdFusion Builder 1. Keyboard shortcut enhancements. The shortcuts that you are asking about have been changed. Now they are:

Ctrl+T O for <cfoutput>
Ctrl+T A for <cfabort>
Ctrl+T D for <cfdump>

And if you just type Ctrl+T and then wait a few seconds a menu will be displayed with the available options to pick from.

enter image description here

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top