Skip to content
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

Does not work if started from code.exe #24

Closed
unional opened this issue Apr 15, 2016 · 2 comments
Closed

Does not work if started from code.exe #24

unional opened this issue Apr 15, 2016 · 2 comments
Labels

Comments

@unional
Copy link

unional commented Apr 15, 2016

If I open Code using Window Shortcut (i.e. task icon or start menu icon), it runs code.exe and in that case, when I try to open project, it does not work.

If I start Code from command line, then it works.

Don't know if it is related to this:
microsoft/vscode#5064

@alefragnani
Copy link
Owner

Hi,

You have to configure projectManager.codePath setting, as defined in readme.md.
I noted this behavior right at the beginning, but hadn't find a reason for that. In fact there are other differences when you start Code from the icons, like Environment Variables (only system are recognized). Maybe the issue you listed is the reason.

There will be a proper API in Code for that in the future microsoft/vscode#58, so I will be able to replace my exec codes for that, and that setting will not be needed anymore 😄

Hope this helps

@unional
Copy link
Author

unional commented Apr 15, 2016

I see. Thanks. Maybe pointing that out in the readme would be helpful. 🌷
I didn't realize that is the cause for this because it has been working for me (spawning code form cli)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants