GithubHelp home page GithubHelp logo

jlawton / xcode-open-on-github Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wojteklu/xcode-open-on-github

0.0 0.0 0.0 4.97 MB

Quick Actions for Xcode to jump to a source code line on Github or copy GitHub link to clipboard.

License: MIT License

xcode-open-on-github's Introduction

xcode-open-on-github ⚙️

Quick Actions for Xcode to jump to a source code line on Github or copy GitHub permalink to clipboard.

1️⃣ Open on Github

2️⃣ Copy GitHub link to clipboard

Install

Just double-click the files in quick-actions directory to add them to the Services menu.

Pro Tip ®

You can create your own keyboard shortcuts for added actions:

  1. Open System Preferences > Keyboard. Click the Shortcuts tab and select Services from the list on the left side.
  2. Scroll all the way down the list of services. Under the Text heading you should find the quick actions you just added. Select it and click Add Shortcut to assign a global shortcut.

How it works?

Quick Actions for Xcode are AppleScript scripts. From the Xcode app we get a path of active document and selected lines. Using shell scripts we determine repository URL, current commit and top-level directory of a repository. All that allows constructing a GitHub link.

Author

Wojtek Lukaszuk @wojteklu

License

This project is licensed under the terms of the MIT license. See the license file.

xcode-open-on-github's People

Contributors

wojteklu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.