Useful xcode shortcuts - xcode

I'm novice with Xcode. Could you please hint me which Xcode shortcuts to show
documentation of an object;
which methods are available for the object.
Thank you in advance!

If you press Alt and press on an element once the inline documentation will be displayed in a small box. If you press Alt twice, the documentation will be opened in a new window. The screenshot shows the sincle tap:
For other shortcuts you can access and change the xCode shortcuts in Preferences -> Key Bindings
For me the tool you can find on this website is the best for all shortcuts on your mac. After installing, you always can display all shortcuts of a program. You press CMD and you get the shortcuts of the program which is acutaly selected:

Related

Xcode keyboard shortcut to jump directly to main editor window?

Is there an Xcode keyboard shortcut to jump directly to main editor window?
Cmd+J seems to be the closest, but it displays a UI for selecting which editor to open, or to open a new assistant editor.
There is a command in Xcode > Preferences > Key Bindings that is called Move Focus To Next Editor (Navigate Menu).
With it you jump to the main Editor and if you are in the main Editor you jump to the next editor until you had focus on all editors then you jump back to the main one.
Take a look at the official and this blog about Xcode shortcuts.
Xcode also has a pretty complete "Key Bindings" section in its preferences.
No there is no XCode Keyboard shortcut to jump directly to main editor window. But yes ⌘+J allows you to move to editor window. I am attaching a picture of probably all the shortcuts for XCode 4. I found this on a blog... The picture is quite big so you will have to zoom.

How to unbind Command-Control-Space key from Mac OS X 10.9?

How can I unbind Command-Control-Space from Mac OS X 10.9?
This shortcut shows Special Characters table and conflicts with my Emacs key binding, and I couldn't disable it from System Preference->Keyboard->Shortcuts.
Thanks.
At least on macOS Sierra to macOS Big Sur ⌃Space is the default binding for Select the previous input source which is on by default (even if only one input source is activated).
You can free it by:
Open System Preferences
Go to Keyboard > Shortcuts > Input Sources
Untick "Select the previous input source"
Afterwards, you should be able to bind it as expected.
You can create custom keyboard shortcuts for most app's menubar choices in System Preferences. If a desired key combination is losing precedence to a default shortcut that you don't use and can't easily disable, simply override it with a new, unobtrusive shortcut.
Open System Prefs / Keyboard / Shortcuts. Select App Shortcuts from the left pane. Toggle the All Applications category's triangle in the main window to point downward (if it's not open already).
If there's an item named Emoji & Symbols* shown there, then click its shortcut combination and enter a new shortcut (such as option-shift-command-t, in this case).
If there's not an item named Emoji & Symbols under All Applications, click the + button at the bottom, type or copy-paste Emoji & Symbols, and then enter a new keyboard shortcut (option-shift-command-t, or anything really). This will free the control-command-space combination for you to use as a specialized shortcut elsewhere.
To remove your custom shortcut, just click to highlight it in the main window of this preference pane, and click the – button at the bottom. The custom shortcut will disappear and the default action will resume.
*Note: On versions older than Mac OS 10.10.3, the menu item is called Special Characters… instead of Emoji & Symbols.
I don't know of any way to disable this, but an alternative option might be to create a shortcut for the app you want to use that in. I created a Command-Control-Space shortcut for Chrome and now Command-Control-Space doesn't bring up the special character palette anymore in Chrome.
failing that you may be better off asking in Apple Stackexchange

TextMate: Shortcut for switching focus between editor and project drawer

I'm looking for a shortcut for switching focus between editor and project drawer in TextMate. I googled a bit with different results, but none of the shortcuts is working for me:
http://dirtystylus.com/2007/10/26/toggling-between-main-window-and-drawer-in-textmate/
http://gtdmarc.blogspot.de/2008/06/some-useful-textmate-shortcuts.html
This link suggest installing the MissingDrawer Plugin, but but that's not the solution I'm looking for.
I have OS X Lion 10.7.3 and TextMate 1.5.10 on a MacBook Pro with a German keyboard layout.
The shortcut in TextMate 2 (using a spanish keyboard) is ctrl + tab.
The official answer is in the docs:
⌘` ⌘~ Switch to the next/previous window. This keyboard shortcut is based on the physical location of the key so on many European keymaps it is instead ⌘< and ⌘> (it is the key to the left of the Z).
⌥⌘` ⌥⌘~ Switch between main window and drawer. Like the previous key this one is also based on physical location. The function is not available on Panther.
EDIT
Both have been working for me on my french keyboard but not how the docs said: neither ⌘+< nor ⌘+> did work but ⌘+` did. YMMV.
ENDEDIT
Just found it, it's ⌘+⌥+<.
In 2.0-beta cmd+alt+tab works fine. It's equivalent of Navigate->Move focus to file browser

Windows 7 No Shortcut Tab on Desktop Icon

OK, completely noob question I should be able to figure out but I am stuck.
I have a small program that I want to run in Windows 7 with a keyboard shortcut. Selected Start -> Program In Question -> Right Click -> Send to (Create Shortcut on Desktop).
I want to add a keyboard shortcut to this, so I right click on the desktop shortcut and click properties. Now I only have the following tabs: General, Security, Details, Previous Versions. No option for Shortcut.
So, how do I create a custom keyboard shortcut from this desktop shortuct?
Thanks!
It sounds like you made a folder shortcut, if it is a folder you won't have a shortcut tab, try it again but this time click the program you wanted to make a shortcut and see if it is just a folder that has a different icon. (If it expands in your start menu then it was a folder.)

How can I make another button highlighten on popup window on Mac by using Keyboard

On the above shown asking popup window on Mac, how can I select another button (left button) by using keyboard.
Without clicking mouse button, I want to make left button highlighten.
Is there any shortcuts?
Go to Preferences -> Keyboard. At the bottom, turn on "All controls" under "Full Keyboard Access".
The alternate option will be highlighted with a blue ring. Hitting space will activate this. If there are multiple options, hitting tab will alternate between them.
For English/Mac OSX 10.10:
Go to Keyboard in System Preferences, and then select 'All controls'. Space will select the alternate option if two options. If more than two options then tab will alternate between them.
PS: I would much rather the option of using arrow keys and enter. Interested to know if anyone knows how to hack this?
After reading Tricon's answer, I got the way!!!
Just see the following shortcuts.
Preferences -> Keyboard -> Keyboard & keyboard input (I don't know the correct English menu, I'm using Korean "탭이 초점을 이동하는 방식 변경 (^F7) )
Once you do ^F7 (In case of mac book, Control + fn + F7) on a popup window, you can travel over buttons on any popup windw!!!
Thank you Tricon for giving me clue :)
In Catalina in Keyboard -> Shortcuts press Use keyboard navigation to mve focus between controls. Then you can use Tab to highlight another button and use Space to actually press it.

Resources