/ShowInGitHub

Xcode plugin to open the GitHub page of the commit of the currently selected line in the editor window.

Primary LanguageObjective-CBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Show in GitHub / BitBucket

Xcode plugin to open a related Github or BitBucket page directly from the Xcode editor code window. Installs easily through the Xcode package manager Alcatraz.

Show in GitHub has been tested with Xcode 5.1.1.

Usage

Click on any line in a GitHub project and choose "Source Control" (GitHub for Xcode <5.0) --> Open commit on GitHub in the main menu. (e.g. to send this URL via IM)

Open file on Github simply opens the file at its current branch, and not the last commit which changed it. Alternatively you can select a range lines of code and follow the same steps.

Youtube Tutorial (made under Xcode 4.x)

Screenshot

Installation

  1. Install it via Alcatraz

or

  1. Clone the repo on your local machine.

  2. Build it in Xcode.

  3. ShowInGitHub.xcplugin should appear in ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins

  4. Restart Xcode

Contact

Lars Schneider larsxschneider+sig@gmail.com

License

ShowInGitHub is available under the BSD license. See the LICENSE file for more info.