felipecaputo / git-project-manager

A Git Project Manager extension for vsCode
MIT License
96 stars 34 forks source link

Won't open git project #105

Open MareoRaft opened 4 years ago

MareoRaft commented 4 years ago

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:

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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