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

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+{)

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

How to install new features or shortcuts?

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.

Pycharm: multiple tabs all with same name; how to highlight active file in project explorer?

With a number of different apps that all have their own version of "admin.py" and "views.py," etc., I have a hard time telling which one I have open when looking at the tabs (the tabs don't have the full path).
Is there a way to highlight which file I'm editing in the active tab? Normally with programs that use this format -- for instance Gmail -- the active section or file is highlighted on the left, but not so in PyCharm.
Use View | Select In | Project View or enable Autoscroll from Source option in the Project View.
In PyCharm 2.0 there will be Show directory in editor tabs for non-unique filenames option in Settings | Editor | Editor Tabs.
The project pane should have a row of buttons on the top. Mouse over them for tooltips, and look for the one that says "Autoscroll from source". Make sure to make the sidebar wide enough to see all the buttons.

Adding buttons for HTML elements to the Sitecore rich text editor

I would like to add a button to the Sitecore rich text editor toolbar, specifically one that inserts the H2 element.
I know the H2 element can be inserted using the paragraph styles pulldown menu, but all my editors are now using the bold button for their headings because they don't "see" the paragraph styles pulldown. So, I want to make the H2 easily available using a toolbar button. (And maybe even removing the bold buttons, since it's not semantic at all.)
But no matter how I go through the documentation, I cannot find a good explanation on how to do this.
In addition to the guide Yan posted, here's another guide.
I found a couple of walkthroughs for this...
Sitecore v6.3 and previous: link
Sitecore v6.4: link
Make sure that you select the core database (bottom right of Sitecore desktop) so that you can see the /sitecore/system/Settings/Html Editor Profiles area.
In my article here the first step of wiring up an event to a button is in javascript. From there you can insert text or tags. You can also get the selected text and wrap it in tags. You don't need to compile anything I was just showing how you would if you needed to, but you can entirely cut that piece out and just use the editor to send whatever text you want back to the wysiwyg editor.