Skip to content

Remote vs Local install #467

@jgroom33

Description

@jgroom33

Environment:

  • Windows 11 + WSL
  • Extension installed locally (Windows)
  • Extension also installed on WSL remote (Ubuntu 24.04)

Config:

    "hediet.vscode-drawio.customLibraries": [
        {
            "file": "${workspaceFolder}/drawio/Scratchpad.xml",
            "libName": "test",
            "entryId": "test"
        }
    ],

Behavior:

While attempting to open a file using a Remote (WSL) attached VSCode, the extension only uses the local filepath (C:/)

2025-05-01 14:58:35.387 [error] EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, open 'C:\home\jgroom\src\lab\drawio\Scratchpad.xml'
	at Yi.e (file:///c:/Users/jgroom/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:111:18041)
	at Object.readFile (file:///c:/Users/jgroom/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:111:16562)

Workaround:

Uninstall extension from local (Windows)

After uninstalling the extension on the local machine (Windows) and leaving it on the remote (requires manual installation) the ${workspaceFolder} is recognized properly.

Goal:

Support extension installation on local and remote simultaneously

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions