git-project-manager icon indicating copy to clipboard operation
git-project-manager copied to clipboard

Won't open git project

Open MareoRaft opened this issue 4 years ago • 3 comments

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?

MareoRaft avatar Apr 02 '20 14:04 MareoRaft

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?

felipecaputo avatar Apr 03 '20 12:04 felipecaputo

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

bkbelton avatar Aug 19 '20 21:08 bkbelton

@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.

MareoRaft avatar Aug 24 '20 12:08 MareoRaft