This Xcode Plugin (and all others) cannot work with Xcode 8 and above. If you care deeply about Xcode plugins such as this, please (PLEASE!) file Radars to Apple asking for the XcodeKit API to expand to allow support for extensions like this one.
For example: Cedar and Quick allow you to focus on examples with
fit/fdescribe but with this plugin you can select
it/describe with your cursor and use a shortcut instead.
- git clone https://github.com/cppforlife/CedarShortcuts.git
- cd CedarShortcuts
- rake install
(This list may or may not be complete)
CTRL + F Focus (or unfocus) the 'it', 'describe', or 'context' preceding the cursor.
(Edit > Focus spec under cursor)
CTRL + X
Pend (or unpend) the 'it', 'describe' or 'context' preceding the cursor.
(Edit > Pend spec under cursor)
Ctrl + Alt + I
#importdeclaration for a symbol under the cursor.
(Edit > Insert Import)
Ctrl + Alt + C
@classforward-declaration for a symbol under the cursor.
(Edit > Forward declare class)
Shift + Ctrl + Cmd + ↓ Alternate between Spec and implementation in current editor.
(Navigate > Alternate Between Spec)
Shift + Ctrl + Alt + Cmd + ↓ Open alternate (spec or implementation) in adjacent editor.
(Navigate > Open Spec/Impl in Adjacent Editor)
Ctrl + Alt + E
Show list of recently opened files
(View > Standard Editor > Show Recent Files)
Ctrl + Alt + U
Runs example under the cursor in the currently active file.
(Product > Run Focused Spec)
Ctrl + Alt + Cmd + U
Runs the all examples in the currently active file.
(Product > Run Focused File)
Shift + Ctrl + Alt + Cmd + U
Runs the previously focused example(s).
(Product > Run Last Focused Spec(s))
Changing the keyboard shortcut bindings
You can use the OS X keyboard preferences pane to override shortcut for any menu item (System Preferences > Keyboard > Keyboard Shortcuts > Application Shortcuts > '+').
Uninstalling the plugin
(Plugin can be uninstalled by removing