-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
PowerShell session not started if GitLens is enabled #216
Comments
@meCoding Can you provides logs by setting I am still unable to reproduce the issue, although I am running Windows 10. |
@eamodio I happend to have a virtual machine with Windows 10, VS Code and GitLens (still in version 6.1.2). I have found a difference in behavior between 6.1.2 and 6.2.0. When you have a GitLens version 6.1.2 you don't need to "repo-enable" (git init) the folder. PowerShell is working just fine. But with GitLens version 6.2.0 you need to run "git init". Once this is done, you can open PowerShell scripts in VS Code. The same is true also in my Windows 7 machine. Environment for verbose outputs below:
Here is verbose output before updating GitLens:
Here is verbose output after I did the update:
Here is verbose output after GitLens is updated. Folder is still NOT repo-enabled (git init)
Here is verbose output after folder is repo-enabled (git init)
|
Can you try out the latest GitLens beta and see if it resolves the problem for you. I could never get it to reproduce, but there could have been issues where vscode wasn't protecting against exceptions/promise rejection in certain cases -- so this release might fix the issue. 🤞 |
The beta version did the trick! Just in case I first uninstall version 6.2.0 and then install the beta version from vsix file. I did this on Windows 7 and Windows 10 machines. Thanks @eamodio ! |
As far as I'm concerned this issue can be closed now. Next version seems to be included the fix. Thanks again @eamodio, Great job! 👍 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
PowerShell is not starting anymore on my machine. It keeps saying "Starting PowerShell". If I disable GitLens, I can run the PowerShell. Once I enable GitLens again, PowerShell won't start. This behavior started yesterday when I updated GitLens to newest version (6.2.0). I also noticed the same on the other machine where I have VS Code and Gitlens.
Both, GitLens and PowerShell extensions are removed/reinstalled, but no difference.
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: