Giter VIP home page Giter VIP logo

vscode-open-in-github's Introduction

vscode-open-in-github
Supports : GitHub, Bitbucket, Visualstudio.com and GitLab

Extension for Visual Studio Code which can be used to jump to a source code line in Github, Bitbucket, Visualstudio.com and GitLab

Build Status

Install

Tested with VsCode 0.10.1

Press F1 and narrow down the list commands by typing extension. Pick Extensions: Install Extension.

installation

Simply pick the Open in GitHub / Bitbucket extension from the list

Install Manual

Mac & Linux

cd $HOME/.vscode/extensions
git clone https://github.com/ziyasal/vscode-open-in-github.git
cd vscode-open-in-github
npm install

Windows

cd %USERPROFILE%\.vscode\extensions
git clone https://github.com/ziyasal/vscode-open-in-github.git
cd vscode-open-in-github
npm install

Usage

Command

Press F1 and type Open in GitHub.

open

Press F1 and type Copy GitHub link to clipboard.

copy

(The URL for Github will also include line ranges if there are lines selected in the editor)

Press F1 and type Open Pull Request.

copy

Keybord Shortcut

Press Ctrl+L G to activate. Press Ctrl+L C to copy active line link to clipboard.

Context menu

Right click on explorer item and choose Open in GitHub or Copy GitHub link to clipboard.

context

Configure custom github domain

Add following line into workspace settings;

{
  "openInGitHub.gitHubDomain":"your custom github domain here",
  "openInGitHub.requireSelectionForLines":false   // If enabled, the copied or opened URL won't include line number(s) unless there's an active selection
  "openInGitHub.providerType": "gitlab" //github, gitlab, bitbucket, ...
}

Have fun..

License

MIT © Ziya SARIKAYA @ziyasal & Contributors

vscode-open-in-github's People

Contributors

bpasero avatar bradymholt avatar gdziadkiewicz avatar itiut avatar johnpaularthur avatar linarnan avatar stuartleeks avatar suan avatar testerez avatar ziluvatar avatar ziyasal avatar

Watchers

 avatar  avatar  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.