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

project switch does not work with network folder #10

Closed
eXor007 opened this issue Feb 20, 2016 · 1 comment · May be fixed by RahmaNiftaliyev/vscode-project-manager#4 or TheJ-Erk400/vscode-project-manager-2#3
Assignees
Labels
Milestone

Comments

@eXor007
Copy link

eXor007 commented Feb 20, 2016

when i have my projects on network folder, the project switch doesn't work correctly.

Example:
Folderpath: "\projects\webrepositories\projectname"

the exec looks like: "C:\Program Files (x86)\Microsoft VS Code\bin\code.cmd" "\\projects\webrepositories\projectname"

he is trying to open: "\projects\webrepositories\projectname" (it is missing a "" at the begin)

i have tried to resolve the problem with following solution (works with network folder and also local folders):
change line 142 from:
projectPath = normalizePath(projectPath);

to:
projectPath = surroundByDoubleQuotes(projectPath);

exec looks than like: "C:\Program Files (x86)\Microsoft VS Code\bin\code.cmd" "\projects\webrepositories\projectname"

os: windows 7
vscode: 0.10.8
projectmanager: 0.5.1

@alefragnani alefragnani self-assigned this Feb 22, 2016
@alefragnani
Copy link
Owner

Hi @eXor007 ,

I could reproduce the problem. I will post a fix soon.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment