Disable Quickhelp in Xcode 3.2 - xcode

Since upgrading to Xcode 3.2, I miss the old style option + double click on a word to bring up the documentation within Xcode.
Now, I get the new 'quickhelp' menu, which isn't all that helpful, and just means that I need to click one more time to get to the documentation!
Is there an easy way to return Xcode back to its old ways? (I'm probably missing something in preferences!)

Holding Cmd + Option and double-clicking will take you directly to the definition of the symbol you clicked on in the docs. So you don't need to rewire the app if you can rewire your brain to just hold down one more key!

Related

Xcode: How to get page up and page down to move cursor?

This is a mac thing (because text edit does the same) but I just want to change this in xcode.
I'd like the cursor to move when I hit the page-up and page-down button. Kind of like the way windows or linux work. I know I can hold down the "option" button and then go page-up, page-down and it works - but I don't want to hold the option button.
I tried fiddling around with key bindings in xcode but couldn't get it, anyone know how?
In preferences, go to key bindings, type "page" in the search box, look for Page Down (Selection) / Page Up (Selection), click there and hit your pgdn/pgup keys.
Delete the pgdn/pgup keys from Scroll Page Up/Down.
Whit Xcode 6.1 (and >) is quite different, but similar to Colin's answer.
Xcode > Preferences > Key Bindings
Search for "Move Page Up": by default it's bindend with Alt+PgUp
You can change your binding simply with PgUp.
There may be conflicts, resolve it is suggested.
Than repeat the same for "Move Page Down".
Install KeyRemap4MacBook and life will be good. If you have a PC/Mac/Linux environment the MacOS keyboard inconsistencies can be a real pain. We have all of our Macs setup to work as PC keyboards work. Now switching from one system to the other several times a day is not a problem.

How can you go forward/backward at the file level with Xcode 3.2?

Xcode 3.2 has implemented cursor-level history for the "Go Forward", "Go Backward" commands. Previously these worked at the file level, so you could navigate back and forth through recent files you've been editing. Now they navigate at a more fine-grained level, through the places within files where you have been editing.
The downside to this is if you navigate backwards through the files and make a minor edit, all of your forward history is wiped out, whereas in the past it used to be easy to return to the file you were working on. It also means issuing a lot more commands if you just want to move through files, since you have to skip through all the edit points within each file.
I can't find anything in the release notes or documentation about this new behavior, so does anyone know if it's possible to get the old 'go back/forward by file' commands in 3.2? If not, does anyone have any tips on other ways of easily navigating recent files in Xcode?
Hold down the option key while you click the forward/backward arrows at the top of the code view, this will use the Xcode 3.0 behavior and go back a file at a time.
I had the same question as well and and Rob's answer on holding Option while clicking the forward/backward arrows works well.
I needed a keyboard shortcut though and I've found that Shift-Option-Cmd-left/right works.
From the comments on this blog entry:
Hold down the Option key to get the old file-based Go Forward/Go Back behavior. We rarely change established behavior like this when adding new options, but in this case, the majority of users considered file-level navigation Broken and location-based navigation Correct, based on their experience in browsers and other IDEs. We chose to give what more people considered the “obvious” behavior the pride of place on the keyboard shortcut, but the old way is still there.
-- Chris Espinosa
But like you guys have said, after every keyboard edit, the forward file history is lost. This is incredibly frustrating to me, as this is a feature I have heavily relied on for years, which is now broken. Is there still no fix?
There are Next File and Previous File commands, however their history is also wiped out after an edit. That seems like a bug to me.
This is plain stupid! What's the reason for suddenly change this ? Shift-Option-Cmd-left/right... great, more stupid shortcuts from Apple. I guess I soon have to use Shift-Option-Cmd-Left-Alt-Enter-N for something I use all the time. Can't they just implement a recent file list on ctrl-tab or something, like the Cmd-tab and the app switcher. Why would I want to grab for the mouse when I'm coding ? Still I have to use it lots in Xcode.
Sorry for my rant :)

Remove documentation popup in Xcode 3.2

When I alt(option) double-click a keyword in Xcode 3.2, I get the following popup:
alt text http://www.noggin.co.za/popup.png
I absolutely hate it. Is there a way to go back to searching the documentation (as in Xcode 3.0) rather than popping up this dialog?
Cmd+option double-click works for me.
This won't stop the pop-up from appearing, but you can click the book icon in its upper-right corner to move to the Documentation Viewer.
God I hate it too!!! I want it to just go back to the way it was, or at least let us choose!!! WTF Apple??? You're not really enhancing a developer's life if you force them to change for no apparent reason! If you wanted this new functionality, you make this have a NEW keyboard shortcut and leave the old ones alone!!!

How can I jump from one placeholder to the next in Xcode autocompletion?

When Xcode autocompletes an method for me, it gives me blue blocks for parameters. I always go into the first, but then I click into all next ones rather than fast going there by keyboard commands. I guess that there are some good ones to know.
The default is Command-/, but you can customize that in the key bindings section of XCode's settings window.
In Xcode 3.2 (Snow Leopard), you can also use the Tab key to navigate between parameters. Personally, I find this more intuitive than Command-/.

Isn't there a Go To Last Edit Location shortcut in XCode?

I'm rather new to XCode and I still miss so many shortcuts and features available in IntelliJ IDEA.
Perhaps the biggest pain point for me is the lack of a keyboard shortcut (or even a menu action) that allows you to move through your most recent change points (points in which you modified files).
In case you're familiar with IntelliJ, I'm referring to the Ctrl-Shift-Backspace shortcut... (or Shift-⌘-Backspace on a Mac)
I'm NOT referring to navigation through your recent view points (via Alt-⌘-Left & Alt-⌘-Right) - only locations you edited.
You can find some useful XCode tricks here.
⌘-Z then redo
I got here via Google. In Xcode 4 & 5 the shortcuts are
CTRL + Command + Back Arrow
CTRL + Command + Forward Arrow
It's not available the way Jetbrains and other do it. Using AppCode might be a choice.
To scroll through your recent changes in Xcode:
Push and hold Control + Command keys (holding them both down)
Then press and release the back arrow (in the bottom right of the Apple keyboard)
While still holding the Control and Command keys down, press the back arrow down again.
This will scroll through the changes you have made to the files in your project. I believe this will only show you the changes since the project was opened.

Resources