alefragnani / vscode-project-manager

Project Manager Extension for Visual Studio Code
GNU General Public License v3.0
1.87k stars 222 forks source link

[BUG] - Can not save the favorite list in the remote #745

Open sjhsbhqf opened 1 month ago

sjhsbhqf commented 1 month ago

I searched briefly, but there are no relevant issues

I have already set it up :

    "remote.extensionKind": {
        "alefragnani.project-manager": [
            "workspace"
        ]
    },

but when I save favorites, Still saved in the local user folder

sjhsbhqf commented 1 month ago

When I installed this extension remotely, I found that the settings file was saved in ~/.vscode-server/data/User/globalStorage/alefragnani.project-manager

If I change the path to a different location, such as ~/. vscode server/configuration

image

When I click on the 'edit' icon, an error message will appear

image

And I continued to click on 'Yes, edit manually', which did not disappear. Instead, I added the following project to the 'projects. json' file in the '~/. vscode server/data/User/globalStorage/alefragnani. project manager' section

image

Changing to the following settings is also useless.

image

alefragnani commented 3 weeks ago

Hi @sjhsbhqf ,

There is no need to update the projectManager.projectsLocation setting, since the extension will save the projects in the VS Code internals, just like running locally.

1. Define the extension to run on workspace

"remote.extensionKind": {
        "alefragnani.project-manager": [
            "workspace"
        ]
    },

2. Install the extension inside the WSL

image

3. Open any folder inside WSL and use the Project Manager: Save Project command

image

Hope this helps

zhenpewu commented 3 weeks ago

Hello @alefragnani,

I've encountered this issue with Project Manager in Visual Studio Code. Previously, I could save projects to my Mac's local Project Manager while connected to an SSH remote. Now, Project Manager isn't accessible unless installed on the remote SSH server, and if installed, it points to the remote server's projects instead of the local ones. Has there been any recent change in Project Manager or Visual Studio Code that might be causing this problem?

SaaSCh commented 3 weeks ago

fbi