PR templates don't work if you use VSCode workspaces
See original GitHub issue- Extension version: 0.34.2
- VSCode Version: 1.63.2
- OS: Windows 10 & Linux
Steps to Reproduce:
- Open a VScode workspace that has a PR template (I only tested with a multi-root workspace)
- Create a PR
- Make sure the PR description is blank
Below is a screenshot of two VSCode instances, on the same machine - the left one has opened the root of the repo code .
, the right one has opened the repo’s workspace code .code-workspace
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
Workspaces in Visual Studio Code
What is a VS Code "workspace"? A Visual Studio Code "workspace" is the collection of one or more folders that are opened in...
Read more >Working with GitHub Issues in Visual Studio Code
On the Visual Studio Code team, we use GitHub issues to track all of our work. From our detailed iteration plans to individual...
Read more >Developing with GitHub Codespaces - Visual Studio Code
When you need to work on a new project, pick up a new task, or review a PR, you can simply spin up...
Read more >Developing inside a Container - Visual Studio Code
The Visual Studio Code Dev Containers extension lets you use a Docker ... Note: When using Alpine Linux containers, some extensions may not...
Read more >Collaborate on GitHub - Visual Studio Code
If you are not redirected to VS Code, you can add your authorization token manually. · You can search for and clone a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That’s correct, thank you @TylerLeonhardt!
The bug exists in
v0.35.2022011209
@alexr00 I dug a little deeper, reproduced it and perhaps found the cause of this bug.
How to reproduce 0. Clone the repo and checkout the branch from the PR linked above
playground.code-workspace
in VS CodeCreate Pull Request
command in VS Code".github": true,
fromfiles.exclude
inplayground.code-workspace
Reload Window
command in VS CodeCreate Pull Request
command in VS CodeWhy I’m excluding
.github
from file explorer: It’s a hack suggested in https://github.com/microsoft/vscode/issues/82145. If I don’t use it then the.github
anddocs
dirs would show up both in file explorer and under myroot
folder. So basically we’re forced to list every non-root folder that’s listed underfolders
in the workspace config.