-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Hard to launch a workbench without a workspace #176763
Comments
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.76.1. Please try upgrading to the latest version and checking whether this issue remains. Happy Coding! |
Hi @aeschli I did not find the use of Line 76 in d7014b6
If it is no longer useful, I can remove it. |
We use the minimist library for argument parsing. For boolean arguments it allows to write |
Thanks a lot, i got it. So the |
You can turn get an empty workspace by running Isn't that good enough? |
@aeschli Thank you for your time. Please allow me to hold on a little longer. My original intention was use The difference with the current logic is that now use Maybe |
I guess both setups are useful.
I'm fine changing the default. I don't think any of our tests depend on it. @bpasero What do you think? To teach devs about the playground/empty workspace, we could just print some more help text when |
Not sure, |
@bpasero You can, there's the |
Then, go for it 👍 |
Hey, @aeschli Is there anything else to confirm? What else do I need to change? Or Keep the current design? |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
My purpose is to start a blank workspace, similar to screenshot. But the current startup method, I can't achieve this effect.
If I execute
./scripts/code-web.sh
directly, thevscode-web-playground
extension will be automatically downloaded and loaded. The presence of a memory fileSystem is not what I expected.vscode/scripts/code-web.js
Line 62 in 1b6f8eb
If I execute
./scripts/code-web.sh --folder-uri=memfs:/test
which folder-uri is random, Explorer will display the failed path, which is not the effect I want.If I execute
./scripts/code-web.sh .
, Explorer will display files from localMy advice is only use
./scripts/code-web.sh --playground
to load vscode-web-playground extension, and if use./scripts/code-web.sh
without any arguments, no fileSystemProvider extension by defaultThe text was updated successfully, but these errors were encountered: