question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:

  1. Open a VScode workspace that has a PR template (I only tested with a multi-root workspace)
  2. Create a PR
  3. 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 Code_SKMcFqN3RZ

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
alexr00commented, Jan 28, 2022

That’s correct, thank you @TylerLeonhardt!

1reaction
borisyordanovcommented, Jan 12, 2022

The bug exists in v0.35.2022011209 image

@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

  1. Open playground.code-workspace in VS Code
  2. Run the Create Pull Request command in VS Code
  3. Verify the PR description is blank
  4. Remove ".github": true, from files.exclude in playground.code-workspace
  5. Run the Reload Window command in VS Code
  6. Run the Create Pull Request command in VS Code
  7. Verify the PR description is populated

Why 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 and docs dirs would show up both in file explorer and under my root folder. So basically we’re forced to list every non-root folder that’s listed under folders in the workspace config.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found