vscode-pdfviewer icon indicating copy to clipboard operation
vscode-pdfviewer copied to clipboard

Run extension locally when using remote development

Open kfigiela opened this issue 3 years ago • 1 comments

This extension has to execute in ui and not workspace (default) in order to work properly with VSCode Remote development (i.e. SSH, Docker, WSL), as described in https://code.visualstudio.com/api/advanced-topics/remote-extensions#incorrect-execution-location

Without this change nothing is visible in the UI (blank tab).

As a temporary workaround one may add to VSCode settings:

  "remote.extensionKind": {
    "tomoki1207.pdf": ["ui"],
  }
} 

kfigiela avatar Apr 08 '21 10:04 kfigiela

Without this change nothing is visible in the UI (blank tab).

When using a Dev Container this also happens to me. Is there anything preventing this merge? I'd highly appreciate the change. Thank you for finding and implementing the solution @kfigiela

The document i have opened in this screenshot can be opened outside the remote container without any issues. Adding the lines from above to settings.json is a workaround for the time being.

image

mcsitter avatar Jan 05 '22 09:01 mcsitter