GitHub Pull Requests for Visual Studio Code
Перейти к файлу
Alex Ross f3f523d16f
No way to `remove` or `rename` remote `upstream`
Fixes #4209
2023-07-21 17:34:33 +02:00
.github/ISSUE_TEMPLATE Remove PR Chat (#4220) 2022-11-21 16:03:38 -05:00
.husky Change file mode for execute husky hooks on MacOS (#4695) 2023-04-14 14:11:01 +00:00
.readme Update README (#2466) 2021-02-08 07:42:43 -08:00
.vscode Use the context menu for Create menu (#5085) 2023-07-19 10:45:09 -07:00
build 0.68.0 (#5008) 2023-07-06 16:09:28 +02:00
common Use the context menu for Create menu (#5085) 2023-07-19 10:45:09 -07:00
documentation Add better suggest a change docs (#4991) 2023-07-03 14:18:58 +02:00
resources/icons Pr button fix (#5005) 2023-07-06 13:08:56 +02:00
scripts Retry yarn (#4392) 2023-01-13 12:58:25 +01:00
src No way to `remove` or `rename` remote `upstream` 2023-07-21 17:34:33 +02:00
webviews Add avatars to create view (#5089) 2023-07-20 17:54:08 +02:00
.eslintignore Reworks the build/bundling (#2518) 2021-02-22 15:23:22 -08:00
.eslintrc.base.json Enable eslint warnings for unused variables (#2630) 2021-04-01 14:00:31 -07:00
.eslintrc.browser.json Reworks the build/bundling (#2518) 2021-02-22 15:23:22 -08:00
.eslintrc.json Reworks the build/bundling (#2518) 2021-02-22 15:23:22 -08:00
.eslintrc.node.json Reworks the build/bundling (#2518) 2021-02-22 15:23:22 -08:00
.eslintrc.webviews.json Reworks the build/bundling (#2518) 2021-02-22 15:23:22 -08:00
.gitignore Get extension tests running in the browser (#2850) 2021-07-20 15:28:10 +02:00
.gitignore-revs Excludes prettier/import sort commits from blame 2021-02-24 18:52:02 -05:00
.prettierignore Adds prettier 2021-02-24 18:43:58 -05:00
.prettierrc Revert "Use prettier as pre-commit hook (#3696)" (#3702) 2022-07-08 11:17:36 +02:00
.vscodeignore Ignore more files from the vsix (#4530) 2023-02-16 10:48:43 +00:00
.yarnrc Reworks the build/bundling (#2518) 2021-02-22 15:23:22 -08:00
CHANGELOG.md Update changelog (#5064) 2023-07-14 10:47:23 +02:00
LICENSE undo changes 2022-02-10 14:33:12 +00:00
README.md remove badge (#4393) 2023-01-12 18:47:00 +01:00
SECURITY.md Adding Microsoft SECURITY.MD (#3560) 2022-06-14 14:29:19 +02:00
ThirdPartyNotices.txt 0.62.0 (#4690) 2023-03-30 21:36:00 +02:00
azure-pipeline.nightly.yml 0.68.0 (#5008) 2023-07-06 16:09:28 +02:00
azure-pipeline.pr.yml Update pr vmImage (#3915) 2022-09-02 14:44:48 +02:00
azure-pipeline.release.yml New "Create PR" design (#4935) 2023-06-23 10:19:30 +02:00
package.json No way to `remove` or `rename` remote `upstream` 2023-07-21 17:34:33 +02:00
package.nls.json No way to `remove` or `rename` remote `upstream` 2023-07-21 17:34:33 +02:00
tsconfig.base.json Reworks the build/bundling (#2518) 2021-02-22 15:23:22 -08:00
tsconfig.browser.json Reworks the build/bundling (#2518) 2021-02-22 15:23:22 -08:00
tsconfig.eslint.json Reworks the build/bundling (#2518) 2021-02-22 15:23:22 -08:00
tsconfig.json Enable strict null check 2021-06-11 14:15:47 +02:00
tsconfig.test.json Prettiers 2021-02-24 18:48:16 -05:00
tsconfig.webviews.json Prettiers 2021-02-24 18:48:16 -05:00
tsfmt.json Add precommit hook similar to microsoft/vscode (#3706) 2022-07-08 09:48:27 -04:00
webpack.config.js Duplicate existing create view into new create view (#4921) 2023-06-15 17:05:08 +02:00
yarn.lock Bump word-wrap from 1.2.3 to 1.2.4 (#5080) 2023-07-19 09:53:40 +02:00

README.md

Build Status

Review and manage your GitHub pull requests and issues directly in VS Code

This extension allows you to review and manage GitHub pull requests and issues in Visual Studio Code. The support includes:

  • Authenticating and connecting VS Code to GitHub and GitHub Enterprise.
  • Listing and browsing PRs from within VS Code.
  • Reviewing PRs from within VS Code with in-editor commenting.
  • Validating PRs from within VS Code with easy checkouts.
  • Terminal integration that enables UI and CLIs to co-exist.
  • Listing and browsing issues from within VS Code.
  • Hover cards for "@" mentioned users and for issues.
  • Completion suggestions for users and issues.
  • A "Start working on issue" action which can create a branch for you.
  • Code actions to create issues from "todo" comments.

PR Demo

Issue Demo

Getting Started

It's easy to get started with GitHub Pull Requests for Visual Studio Code. Simply follow these steps to get started.

  1. Install the extension from within VS Code or download it from the marketplace.
  2. Open your desired GitHub repository in VS Code.
  3. A new viewlet will appear on the activity bar which shows a list of pull requests and issues.
  4. Use the button on the viewlet to sign in to GitHub.
  5. You may need to configure the githubPullRequests.remotes setting, by default the extension will look for PRs for origin and upstream. If you have different remotes, add them to the remotes list.
  6. You should be good to go!

Check out https://www.youtube.com/watch?v=LdSwWxVzUpo for additional getting started tips!

Configuring the extension

There are several settings that can be used to configure the extension.

As mentioned above, githubPullRequests.remotes is used to specify what remotes the extension should try to fetch pull requests from.

To customize the pull request tree, you can use the githubPullRequests.queries setting. This setting is a list of labels and search queries which populate the categories of the tree. By default, these queries are "Waiting For My Review", "Assigned To Me", and "Created By Me". An example of adding a "Mentioned Me" category is to change the setting to the following:

"githubPullRequests.queries": [
	{
		"label": "Waiting For My Review",
		"query": "is:open review-requested:${user}"
	},
	{
		"label": "Assigned To Me",
		"query": "is:open assignee:${user}"
	},
	{
		"label": "Created By Me",
		"query": "is:open author:${user}"
	},
	{
		"label": "Mentioned Me",
		"query": "is:open mentions:${user}"
	}
]

Similarly, there is a setting to configure your issues queries: githubIssues.queries.

Queries use GitHub search syntax.

To view additional settings for the extension, you can open VS Code settings and search for "github pull requests".

Issues

This extension is still in development, so please refer to our issue tracker for known issues, and please contribute with additional information if you encounter an issue yourself.

Questions? Authentication? GitHub Enterprise?

See our wiki for our FAQ.

Contributing

If you're interested in contributing, or want to explore the source code of this extension yourself, see our contributing guide, which includes: