VS Code loading twice at workspace startup
See original GitHub issueDescribe the bug
When starting a che-code based workspace the IDE gets loaded a first time and shows an error message (Error loading webview) and after a few seconds gets reloaded:
https://user-images.githubusercontent.com/606959/168334199-bb99188d-51eb-414c-b5f7-f6d5eae7bc4e.mov
Che version
next (development version)
Steps to reproduce
Click here (access to Che dogfooding instance is required).
Expected behavior
VS Code is loaded once.
Runtime
OpenShift
Screenshots
No response
Installation method
OperatorHub
Release Notes Text
An extension was used to open the project folder at VS Code startup. The result was VS Code beeing loaded twice in the user browser. This is not necessary anymore as we use the VS Code startup parameter --default-folder
that has been (re-)introduced recently.
Issue Analytics
- State:
- Created a year ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
VSCode opens twice when starting Workspace · Issue #100276
Steps to Reproduce: Run clear/empty VSCode instance; Run Menu → File → Save Workspace As and save it as test.code-workspace ...
Read more >Visual studio Code - prevent same file opening twice
It's happened a few times before that I've opened the same file twice and forgotten about it. Meaning I was editing the same...
Read more >Multi-root Workspaces in Visual Studio Code
Opening workspace files. To reopen a Workspace, you can: Double-click the .code-workspace file in your platform's Explorer. Use the File > Open Workspace...
Read more >Advanced Visual Studio Code for Python Developers
In this tutorial, you'll learn how you can configure, extend, and optimize Visual Studio Code for a more effective and productive Python development ......
Read more >How To Enable Linting on Save with Visual Studio Code and ...
Learn how to lint your code on every file save using ESLint rules and VS Code settings.
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 FreeTop 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
Top GitHub Comments
Fixed by https://github.com/che-incubator/che-code/pull/131. VS Code is loaded x2 faster now.
${PROJECT_SOURCE}
should be resolved by the DevWorkspace operator