kbshl/alfred-vscode

Location of projects.json is different than actual location

marques-p44 opened this issue · 1 comments

This is the error I'm getting

Error: ENOENT: no such file or directory, open 
'/Users/mwo/Library/Application Support/Code/User/projects.json'

but when I open the projects file in vscode, the location seems to be '/Users/mwo/Library/Application Support/Code/User/globalStorage/aleftragnani.project-manager/projects.json.

How can I update the path to where the projects.json is saved so that the workflow works?

Visual Studio Code 2.0.2
Alfred 3.8.1
darwin x64 18.2.0

UPDATE:

I found in the VSCode Project Manager settings where I could specify the projects.json file. I copied the original file there, and verified that saving new projects now save to the new path.

We're all good :) and thanks for building this workflow