vscode-pdfviewer
vscode-pdfviewer copied to clipboard
Run extension locally when using remote development
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"],
}
}
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.