kdcro101 / vscode-favorites

Add files and directories to workspace favorites. You can create groups (and subgroups) of favorite items with files and folders. Time saver for complex projects.
MIT License
49 stars 13 forks source link

different path on other users #60

Closed yogithesymbian closed 2 years ago

yogithesymbian commented 3 years ago

Describe your use case. i have config in vscode setting.json

{
    "favorites.storageFilePath": "what directory sample ? ",
    ....
    ...

in my favorite.json

mac users

    {
        "type": "Group",
        "name": "AA0002",
        "parent_id": null,
        "workspaceRoot": null,
        "workspacePath": null,
        "id": "KHrISFa6i7WhY0ub"
    },
    {
        "type": "File",
        "name": "/Users/yogiarifwidodo/Sites/sample/sampleone/js/views/sampletwo/sampletwo.vue",
        "parent_id": "KHrISFa6i7WhY0ub",
        "workspaceRoot": "/Users/yogiarifwidodo/Sites/sample",
        "workspacePath":  "/Users/yogiarifwidodo/Sites/sample/sampleone/js/views/sampletwo/sampletwo.vue",
        "id": "tnKo7UO8R4jG6rcZ"
    },

windows user

    {
        "type": "Group",
        "name": "AA0001",
        "parent_id": "nepcWL5GtbxUZJhQ",
        "workspaceRoot": null,
        "workspacePath": null,
        "id": "12rOiQ0Rga3uwjLY"
    },
    {
        "type": "File",
        "name": "c:\\project\\htdocs\\sample\\sampleone\\js\\views\\sample.vue",
        "parent_id": "3ZuPjkUOxRGm1F7w",
        "fsPath": "c:\\project\\htdocs\\sample\\sampleone\\js\\views\\sample.vue",
        "workspaceRoot": null,
        "workspacePath": null,
        "id": "FZ5R09s6S7KxTWUj"
    },
halo commented 2 years ago

I think this is a duplicate of https://github.com/kdcro101/vscode-favorites/issues/48

yogithesymbian commented 2 years ago

ZuPjkUOxRGm1F7w", "fsPath": "c:\project\htdocs\sample\sampleone\js\views\sample.vue", "workspaceRoot": n

yes right , i didnt see ,