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
Cannot reliably open a folder from CLI with code .
#19761
Comments
/cc @chrmarti due to welcome page? I can't repro this in Linux |
@stewartadam does this reproduce 100% of the time for you? |
Yup, with instructions above it's 100% repro. There's inconsistencies in the behavior between different VS Code states -- I've also seen this happen in some other configurations (e.g. running |
@stewartadam What do you get when running |
No output, exit status 1 -- I was using the following snippet in my profile:
I removed this and used the "Install 'code' command in PATH" that was introduced in 1.0 and it's working a lot better now - thanks! Since I believe the snippet above was part of the older installation instructions, we may want to add an FAQ entry on this page indicated to remove the profile function. |
Thanks for staying with us for so long! I'll make sure we write something up in the docs. |
Steps to Reproduce:
code .
from terminalExpected Result: VS Code opens with folder pane expanded showing contents of $PWD from my shell,
Actual results: New untitled document opens
The text was updated successfully, but these errors were encountered: