Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Please describe how to view a pull request from VSCode extension #71

Open
kahoot-karl opened this issue Oct 24, 2024 · 3 comments
Labels
enhancement New feature or request vscode The issue is related to our VS Code extension

Comments

@kahoot-karl
Copy link

Is your feature request related to a problem? Please describe.
I was trying to figure out how to view a Github Pull request through the VSCode extension. Looking at other issues, there should be a way, but it's not so clear. The docs mainly show how to view diff on files

@kahoot-karl kahoot-karl added enhancement New feature or request vscode The issue is related to our VS Code extension labels Oct 24, 2024
@mmueller2012
Copy link
Contributor

The SemanticDiff extension does not provide a direct integration with GitHub, but you can use it in combination with other extensions, such as the official GitHub Pull Requests extension. Just open the pull request using the extension and switch to SemanticDiff in the same way as you would for file diffs (might happen automatically depending on your settings).

We could mention this in the documentation, but the experience is currently quite limited. For example, you cannot add or view review comments, because the VS Code extension API does not provide such a feature and our feature request was denied. So we generally recommend our GitHub App for users interested in reviewing pull requests. The web app gives us much more control over the UI and allows us to implement features that would not be possible with the limited extension API of VS Code.

@kahoot-karl
Copy link
Author

Thanks for the response! How can I use the VScode extension to view pull requests without adding review comments? I don't need many bells and whistles, I just want to try it out

@mmueller2012
Copy link
Contributor

Open the pull request using the GitHub Pull Requests extension. You can find here more information on how to install and use the extension. Once you have selected a file from the PR, you can switch to SemanticDiff like this:

Switching to SemanticDiff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request vscode The issue is related to our VS Code extension
Projects
None yet
Development

No branches or pull requests

2 participants