alefragnani / vscode-project-manager

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

[BUG] - sync #662

Closed stan-ac closed 1 year ago

stan-ac commented 1 year ago

Environment/version

Steps to reproduce

alefragnani commented 1 year ago

Hi,

Please, could you provide more details?

Thank you

stan-ac commented 1 year ago

Added above ..

alefragnani commented 1 year ago

The extension doesn’t support Settings Sync, that’s the reason why you don’t see your projects on the other computer.

The support was being planned in #431, which depended on the VS Code team to provide an API. But just recently, the VS Code team decided to not release that API anymore, so in order to sync projects, an alternate solution will ve to use Gist, which is being tracked in #525.

I suggest you to upvote #525, so I’ll be able to know how many users desire it, and you will be notified when the feature is released.

Hope this helps

stan-ac commented 1 year ago

To be honest It's not that important to me at this stage. HOWEVER right now I cannot use the project manager at all as I described above, and uninstalling does not help. so if you can explain what to do to revert to a clean state I'd appreciate it. Thanks

alefragnani commented 1 year ago

If that’s not important (sync), why did you commented I then tried to sync the two machines to pull the changes over.? Also, you didn’t mention if you are using the old Settings Sync extension (https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync), or the native solution (https://code.visualstudio.com/docs/editor/settings-sync).

If you are using the old extension, maybe that extension is responsible for the missing projects, as it supports my extension.

Technically speaking, the projects you save are stored in a single projects.json file. The auto detected projects are stored in the same folder, in a separate files. If you have projects in projects.json but they don’t appear in project list/side bar, maybe you have tags defined and are facing #561 , #557 or #594, and I would suggest you to remove tags. Or you disabled the project. There is no clean up feature for extensions, so any state the extension stored is maintained even if you reinstall the extension.

Hope this helps

stan-ac commented 1 year ago

It's not that important to me - the reason I mentioned it is because that was the cause of the problem and I included it to help you understand what happened. Thanks for the input I appreciate it.