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

Won't open git project #105

Open
MareoRaft opened this issue Apr 2, 2020 · 3 comments
Open

Won't open git project #105

MareoRaft opened this issue Apr 2, 2020 · 3 comments

Comments

@MareoRaft
Copy link

MareoRaft commented Apr 2, 2020

Describe the bug
The list of git projects to switch to successfully populates, but when selecting one, it does not switch to the project.

Server:

  • OS: RHEL 7
  • VSCode flavor: Code - OSS
  • Version: 1.43.0
  • Commit: a4c0fd1fdc9ff59fc097f92f1cb2d3698833ce62
  • Date: 2020-03-31T21:01:44.807Z
  • Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36

Additional context
The README already provides a potential solution, saying that you should set

"gitProjectManager.codePath": "/path/to/code",

in the settings. However, my server does not have a "code" command. Running "find / -name code" on my server returns only "/usr/local/lib/dbaas/lib/vscode/out/vs/code", but that is a directory, which contains another directory named "browser".

I am using the browser version of VSCode. It runs on the server and serves a website which is the frontend GUI.

Is there some solution for this version of VSCode, or some way to download/install the code command?

@felipecaputo
Copy link
Owner

Hi @MareoRaft, thank you for your feed back.

After some updates of VSCodeAPI it should not need that config anymore.

Can you get the extension log or error to help me identify what could have happened?

@bkbelton
Copy link

I have the same issue but in wsl. The project list populates, but the project doesn't open in wsl. I have tried both
"gitProjectManager.codePath" : "/mnt/c/Users/bbelton/AppData/Local/Programs/Microsoft VS Code/Code.exe",

and

"gitProjectManager.codePath" : "C:\Users\bbelton\AppData\Local\Programs\Microsoft VS Code\Code.exe "

I have tried these setting is both user and machine settings.json.

The log says:
[2020-08-19 16:48:12.725] [exthost] [info] ExtensionService#_doActivateExtension felipecaputo.git-project-manager {"startup":false,"extensionId":{"value":"felipecaputo.git-project-manager","_lower":"felipecaputo.git-project-manager"},"activationEvent":"onCommand:gitProjectManager.openProject"}
[2020-08-19 16:48:12.725] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/bkb/.vscode-server/extensions/felipecaputo.git-project-manager-1.7.1/src/extension

@MareoRaft
Copy link
Author

@felipecaputo Sorry, I no longer have access to the server where I had VSCode installed. You are free to treat this as @bkbelton 's issue. I will no longer be participating at this time.

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

No branches or pull requests

3 participants