• This repository has been archived on 27/Nov/2023
  • Stars
    star
    130
  • Rank 276,885 (Top 6 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 8 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

:octocat: GitHub Support for vscode

vscode-github README

Marketplace Version Installs Travis renovate badge

This vscode extension integrates with GitHub.

Note: I recommend to use GitHub Pull Requests instead of this, because most usecases are supported and there is a team at Microsoft/GitHub supporting development

Features

Currently it is possible to do the following:

  • Checkout one of the open pull requests
  • Open github page for the current project in your default browser
  • Browse one of the open pull requests in your default browser
  • Browse the pull requests of your current branch
  • Display pull request and current status (e.g. mergeable, travis build done, ...) in the StatusBar (if enabled)
  • Create a new pull request based on the current branch and the last commit The current branch will be requested to merge into master and the pull request title is the commit message summary, or a custom message if configured that way.
  • Create a pull request in forked repositories
  • Allow to select a branch to create a pull request for
  • Merge current pull request with either of 'merge', 'squash' or 'rebase' method.
  • Configure default branch, merge method and refresh interval.
  • Allow to manage assignees for pull requests
    • Assign or unassign a user (currently only one)
  • Allow to create and cancel pull request reviews
  • Support for GitHub Enterprise (on-premise installations)
  • Browse open issues
  • Browse the current open file (including current cursor position)
  • Configure the statusbar behaviour by setting the github.statusBarCommand configuration value.
  • Specify a GitLab private access token and connect to a GitLab server
  • Support multi folder setup

Create pull request

Setup Personal Access Token

To use this extension one needs to create a new GitHub Personal Access Token and registers it in the extension. The 'GitHub: Set Personal Access Token' should be executed for that. To execute the 'GitHub: Set Personal Access Token' type Ctrl+Shift+p in VSCode to open the command palette and type 'GitHub: Set Personal Access Token'. You will then be prompted to enter the token generated from GitHub.

GitHub Personal Access Token

GitHub Personal Access Token

Set GitHub Personal Access Token

Additionally, by default this extension assumes your remote for a checked out repo is named "origin". If you wish to use a remote with a different name, you can control this by the github.remoteName setting.

There are additional settings for this extension as well, enter github. in the User Settings pane of VS Code to see them all.

Usage

Create a new pull request

  1. Create a new local branch from the commit you wanted to start developing with
  2. Do you code changes
  3. Commit your changes
  4. Push your changes to your remote
  5. Then execute Create pull request from current branch in current repository (quick)
  6. In the status bar you can then see the status of your created pull request and if you'd like to open it

Create a new pull request from a forked repository

  1. Fork a repository and clone it afterwards
  2. Create a new local branch from the commit you wanted to start developing with
  3. Do you code changes
  4. Commit your changes
  5. Push your changes to your remote
  6. Then execute Create pull request...
  7. Select the upstream repository you want to create the pull requests for Note: The status bar will not reflect the pull request status in this case

Checkout pull request

  1. Execute Checkout open pull request...
  2. Select a pull request from the list
  3. The pull request is checked out and your working copy switches to that branch

Browser pull request

  1. Execute Browse open pull request...
  2. Select a pull request from the list
  3. Your default browser opens the pull request on github

Merge pull request

  1. Execute Merge pull request (current branch)...
  2. Select your merge strategy from the shown list (merge, squash, rebase)
  3. The pull request associated with your current branch is then merged

Telemetry data (extension usage)

This extension collects telemetry data to track and improve usage. The collection of data could be disabled as described here https://code.visualstudio.com/docs/supporting/faq#_how-to-disable-telemetry-reporting.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Markus Wolf

💻

Ross Valler

💻

Josh Eveleth

💻

sasial

💻

timhaintz

📖

Adam Parkin

📖

Andreas Holley

💻

Stanislas

📖

Corentin Girard

💻

Mykola Morhun

💻

Nicholas Mata

💻

Tatsuyuki Ishi

💻

Vincent van der Weele

💻

ivanmilov

💻

Kyle

📖

Li Huanshuai

💻

Shaikat Haque

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

More Repositories

1

vscode-commitizen

Visual Studio Code Commitizen Support
TypeScript
240
star
2

react-to-typescript-definitions

Create typescript definitions files (d.ts) from react components
TypeScript
238
star
3

jreact

react.js on server-side java (with rhino or nashorn)
Java
168
star
4

tscodeshift

tscodeshift is a toolkit for running codemods over multiple TS files
TypeScript
53
star
5

tsdi

Dependency Injection container (IoC) for TypeScript
TypeScript
52
star
6

pretend

A decorator based http webservice client written in typescript
TypeScript
40
star
7

ts-emitter

Emitting typescript AST back to typescript
TypeScript
38
star
8

vscode-jira

JIRA integration for vscode
TypeScript
25
star
9

Smaller

A minification service for javascript and stylesheets supporting typescript, coffeescript, closure-compiler, uglifyjs, lessjs, cssembed, ycssmin and yuicompressor.
JavaScript
23
star
10

jreact-examples

Java
9
star
11

m3ujs

Create m3u files
TypeScript
9
star
12

jsonast

a json to ast parser which allows error recovery
TypeScript
9
star
13

queue-ts

A promise based worker queue with limited concurrency
TypeScript
8
star
14

html-webpack-exclude-empty-assets-plugin

JavaScript
7
star
15

tastatur

input and keyboard handling in javascript
TypeScript
6
star
16

vscode-ava-runner

This plugin executes ava in a background process and informs the user about tests execution in the status bar.
TypeScript
5
star
17

patternplate-transform-typescript

TypeScript transform for patternplate
TypeScript
4
star
18

smaller-dev-server

A development server utilizing smaller to have the plugins for local development.
Java
4
star
19

id3v2

Reads ID3v2 metadata
TypeScript
3
star
20

hinkelstein

Tools and scripts for monorepositories
TypeScript
3
star
21

json-config

JSON Config is an OSGi Configuration Admin extension supporting JSON files as configuration data
Java
3
star
22

topological-promise-queue

Run promises in order of a directed acyclic graph
JavaScript
3
star
23

react-ssr-renderer

React server-side rendering without special APIs
JavaScript
3
star
24

ankara

Code coverage tool leveraging babylon to cover es6/es7 and strawman proposals.
TypeScript
2
star
25

minificator-maven-plugin

Google Closure Compiler, LessCSS und EmbedCSS Mojos
Java
2
star
26

native-engine

jv8 is a java binding for googles v8 javascript engine
Java
2
star
27

JsonXssCleaner

JSON parser wich cleans strings from XSS hacks (means tags, quotes...).
Java
2
star
28

tipi-template-typescript

This is a tipi-cli template for typescript projects
JavaScript
2
star
29

rezensent

The rezensent is a github app which help managing big pull requests in a repository divided by code ownership rules
TypeScript
2
star
30

hazelcast-clusterstore

Implements a Hazelcast MapStore backed by another hazelcast instance. This could be used to backup a whole map to another cluster to get around cluster blackouts.
Java
1
star
31

vscode-webpack

Run webpack in code and track errors
TypeScript
1
star
32

harhar

a har execution enviroment
Groovy
1
star
33

yarn-tree

CLI to create a full tree of dependencies (like yarn list)
JavaScript
1
star
34

TimeTracker

JavaScript
1
star
35

node.js-bridge

node.js Bridge is a inter-process communication bridge between the bundled node.js and the executing JVM.
Java
1
star
36

coderetreat-playground

💻 This is a playground to practice TDD/BDD
JavaScript
1
star
37

changelog-maven-plugin

Java
1
star
38

OSGi-Rhino

The rhino javascript engine by mozilla wrapped with an OSGi Manifest
1
star
39

webpack-multi-app-test

JavaScript
1
star
40

convert-to-h264

A simple bash script converting video files to h264
Shell
1
star
41

edl-editor

GTK based editor to create edit decision list in xbmc-extended mplayer format. This is gstreamer based and should handle all gstreamer codecs.
Python
1
star
42

webdriver-ts

A lowlevel webdriver implementation in typescript
TypeScript
1
star