Skip to content
forked from tyeen/BlockJump

A Xcode plug-in lets you jump around quickly

Notifications You must be signed in to change notification settings

zenangst/BlockJump

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this

I'm a beginner of Cocoa developing, and just started using Xcode recently. In my immature opinion, Xcode is lack of navigating skills. This plug-in lets you jump between methods, or other items in the source editor.

How does it work

A simple illumination:

I did some research about DVTKit and related sources, and found some ways to get the range of the methods and other items in the current source file. Then I just wrote some code that check the current location and find where to go next.

When you press the key combination specified by yourself, you can move around the source code more easier and faster.

Default Key Combination:

  • CTRL + [ : jump up
  • CTRL + ] : jump down

You can change the key combination by selecting:

Editor -> Change BlockJump Shortcut

Limitation

The targets where the caret could jump to are the same as items displayed in

Menu -> View -> Standard Editor -> Show Document Items

For now, I couldn't do more beyond that.

This plug-in is built under OS X 10.9.2 & Xcode 5.1 and should work on the later version.

Installation

You can either

  • Use Alcatraz
  • Download(Clone) the source and build it(cmd + B) in Xcode.

Then restart Xcode and it should work.

Uninstallation

Just delete the bundle with the name of BlockJump.xcplugin in

~/Library/Application Support/Developer/Shared/Xcode/Plug-ins

You may also want to remove two keys called: (Remaining is OK, they won't harm anything.)

  • com.tyeen.xcplugin.blockjump.jumppreviousblockkey
  • com.tyeen.xcplugin.blockjump.jumpnextblockkey

in the file:

~/Library/Preferences/com.apple.dt.Xcode.plist

About

A Xcode plug-in lets you jump around quickly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%