Get Updates By E-mail 

Article Written By:
Johann Dowa

Xcode Plugin Collection For Minimizing Distractions/Fixing Auto-Completion And More

  •  
  •  
  •  
  •  
  •  

Earlier this week I mentioned an Xcode plugin that makes working with strings easier.

Here’s a set of Xcode 4 plugins known as the “Xcode 4 fixins” from Dave Keck.  These plugins were first introduced last year and have been extended and adapted to work with the latest release version of Xcode.

The plugins included features allowing you to maximize the current window and hide other views, animation disabling, changes to how Xcode handles auto completion and more.

Here are the fixins as listed in the readme:

CurrentLineHighlighter: This fixin highlights the line currently being edited in the source editor, making it easier to track the current insertion point. This fixin adds a “Current Line Highlight Color…” menu item to the Editor menu to set the highlight color.

DisableAnimations: This fixin disables Xcode’s various NSAnimation-based animations, such as the Show/Hide Debug Area, Show/Hide Navigator, and Show/Hide Utilities animations.

FindFix: By default, when Xcode’s inline find bar opens, it doesn’t display any options to customize searching. This fixin makes Xcode show all find options (such as “Ignore Case”) in the find bar when it opens. This fixin also makes text-replacement the default mode in the inline find bar, giving immediate access to the “Replace” and “Replace All” buttons.

HideDistractions: This fixin adds a “Hide Distractions” menu item to the View menu, which focuses the current editor by hiding auxiliary views and maximizing the active window. This fixin works best when the XCFixin_DisableAnimations fixin is also installed.

The default key combination for the ‘Hide Distractions’ menu item is command-shift-D, which interferes with Xcode’s default key combination for ‘Jump to Instruction Pointer’ (under the Navigate menu), so you may want remove that key binding to free up command-shift-D. Alternatively, you can modify the ‘Hide Distractions’ key combination by editing XCFixin_HideDistractions.m and changing the kHideDistractionsKey and kHideDistractionsKeyModifiers constants at the top of the file.

InhibitTabNextPlaceholder: This fixin disables using the tab key to select between argument placeholders of a synthesized (by Xcode’s code completion) method call. Xcode’s default tab functionality can be annoying if you’ve synthesized a method invocation and attempt to indent something nearby before filling-in the argument placeholders; in such a case, Xcode jumps to the nearest argument placeholder instead of indenting. This fixin does not affect the “Jump to Next Placeholder” key binding in the Xcode preferences.

TabAcceptsCompletion: Upon pressing tab, this fixin makes Xcode accept the currently-highlighted completion suggestion in the popup list. (Xcode’s default tab behavior accepts only as much of the highlighted completion that is common amongst other suggestions.)

UserScripts (Experimental): Reinstates some semblance of the Xcode 3.x User Scripts menu. See documentation in the XCFixin_UserScripts directory.

You can download Xcode 4 fixins through Github here

A very interesting and useful set of Xcode plugins.

More: Xcode Plugins


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments