How to install new features or shortcuts? - coldfusion

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.

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.

Related

How to automatically fill "go to everything" [ctrl + t] with current text selection

When I have text selected in a VS 2017 text edit window and then hit ctrl+t to do ReSharper's 2017 Ultimate's "go to everything", the selected text is not automatically placed into the "go to everything" search field.
As automatically pasting selected text into search dialogs is pretty standard functionality, I'm hoping there is a way to configure ReSharper to do this but have not been able to find one.
Does anyone know? Thanks in advance!
Try ticking the checkbox Remember last search on ReSharper | Options | Environment | Search & Navigation page. According to the WebHelp page https://www.jetbrains.com/help/resharper/Reference__Options__Environment__Search_and_Navigation.html, that should help
ReSharper can remember the last input that you used to find something
with Search Everywhere/Go to Type, Go To File, and Go to Text actions.
When this option is selected, ReSharper will also use your current
selection in the editor as the initial search query. For example, you
can select a file name in a string and then press Ctrl+Shift+T to
search for files in your solution that match this name.

xcode change the console output to terminal 9.1

Hey guys i'm learning about algorithms at the moment and I have written the Lee algorithm.
What I'm trying to do now is highlight the shortest path it finds in red text in the console.
I found this thread which explains what it is I'm trying to do however the option is no longer there in xcode 9.1
The answer: Output bold text to console in C (on Mac - Xcode)
When I go through edit scheme > options > run the tickbox is not there, any ideas?
I had the same problem. Solution:
instead of 'edit scheme' click 'new scheme', give it a name and save
now choose that new scheme you've just created and click 'edit
scheme'
go to the 'Info' tab and in a menu 'Executable' choose
'Other...'
in file window go to search input field and type
'terminal' and click on its icon when you find it. Now you should see 'Terminal.app' in 'Executable' field
go to the 'Arguments' tab, click on + and copy and paste this line there: ${BUILT_PRODUCTS_DIR}/${FULL_PRODUCT_NAME}
click 'close' and run your program with your new scheme selected
Normally Xcode will open terminal for you. If not, you may also turn off any debug related fields in the 'Info' tab. Hope this helps!
Full tutorial here:
https://www.raywenderlich.com/163134/command-line-programs-macos-tutorial-2
when in edit scheme > options > run, by default it would be under info tab. That checkbox will be available under option section

Changing Slots on Qt Menu Bar (with image)

this is more of a functionality question than programming question but I can't find any other idiot operators like me out there that are having the same problem as me, or haven't figured it out themselves.
I've got a good basic understanding of CLI C++ so I want to get into the Qt Framework. I'm using their tutorials to get started...
http://qt-project.org/doc/qt-5.1/qtdoc/gettingstartedqt.html#adding-menu-items
The tutorial says that all I need is to "right-click an action and select Go to slot > triggered()."
The image below shows in red circles two of the primary places I've tried right clicking. I've also tried going through the menu and looking for things but to no avail. (Question continued below picture.)
Does anyone know what I am doing wrong here or am I reading this wrong? Thanks in advance.
FYI the open button and save button under central widget is for the Open and Save buttons I added, NOT for the menu toolbar open and save functions.
Near the bottom of Qt Creator find the tabs "Action Editor" and "Signals & Slots Editor". Click the "Action Editor" tab to show a list of all the actions in your UI. You should be able to right-click these items and select "Go to slot...".

Does ColdFusion Builder have split screen editing like Homesite+, and how do I turn it on?

Does ColdFusion Builder have split screen editing like Homesite+, and how do I turn it on? How do I activate word wrap?
Thanks much!
In order to see 2 files tiled at the same time within ColdFusion Builder 2, follow the steps below:
Open the file
Right click the tab with the file name
Choose Move Editor
You will see the file outlined in black in the interface, it is now attached to your cursor
Click to the right of the Source tab in the open area
This will allow you to view both files at the same time, one above the other
The file you select will be the active file
You can still use the Source and browser tabs, they will reflect whatever file is the active one
Word Wrap:
Go to Window > Preferences > HTML > Editors. Click the Advanced tab and check Enable word wrap. Restart CF Builder.
If you want to compare 2 files, there is an easier way.
Select both files
Right-click one of them
Select 'Compare With --> Each Other
Eclipse will then show you the 2 files side by side, and highlight any differences.
ColdFusion Builder 2016 (AKA 3.1) offers "split view" for both horizontal (CTRL+_) & vertical (CTRL+{), but the hotkeys don't appear to work at the moment. This can be accessed via the "Window | Editor" menu. You can also search the "Quick Access" search box and type "Split" and then choose the toggle options that appear.
In ColdFusion Builder 2016 the keyboard shortcut is: (CTRL+SHIFT+_) AND (CTRL+SHIFT+{)

XFDF pdf opening in same window in IE

I'm working on a project that collects data from the project then displays it using xfdf to populate a .pdf file. Now when I use Chrome or Firefox it opens in a new tab which is exactly what I want, but some of my clients will be using IE, which opens it in the same window and causes some confusion. What area of the code should I be looking at in order to tackle and solve this problem?
I can show code examples, just let me know what I need to show.
Thanks,
Steve
Edit: When I click 'Print Application' button, it asks me to save or open the file. When they click open, it opens in the same tab, I want it to appear in a new tab.
In my experience, the best way to accomplish this is to alter your template linking to the PDF. For example:
Clicky!
This should work in all browsers.