Replies: 2 comments 4 replies
-
Yeah, microsoft/vscode-remote-release#2133 is the place where this is being discussed. What is available at the moment is the microsoft/vscode-remote-release#2133 (comment)
|
Beta Was this translation helpful? Give feedback.
-
SolutionThe remote path schema must be used, with the correct vscode://vscode-remote/{remoteAuthority}/{pathToFile} Finding the remote authorityThe window.vscode.context.configuration().workspace.uri._formatted Which returns something like: vscode-remote/dev-container+7b22686f737450617468223a226578616d706c65227d/workspace/project Where you can prepend vscode://vscode-remote/dev-container+7b22686f737450617468223a226578616d706c65227d/workspace/project NOTE: Yours may not have "dev-container" if you're using a tunnel, ssh-remote, etc. And then you could append the path to a file, with line number, etc. vscode://vscode-remote/dev-container+7b22686f737450617468223a226578616d706c65227d/workspace/project/path/to/file |
Beta Was this translation helpful? Give feedback.
-
Context
Explanation
I'm trying to let Laravel Ignition open my files immidiately. I'm working in a remote development container provided by Devilbox, which is already running and an instance of VS Code [Dev Container: Existing Docker Compose (Extend)] is opened and working successfully.
There is a setting
IGNITION_EDITOR
available that affects the linking like soIGNITION_EDITOR='vscode-remote' => vscode://vscode-remote/<path-to-file>
&IGNITION_EDITOR='vscode' => vscode://vscode/<path-to-file>
. I however keep running into issues.What I've tried
Links I've tried (directly in browser):
vscode://vscode-remote/dev-container+2f686f6d652f62696c6c79622f646576656c6f70HEXSTRING/project
see this issue for explanation on hexvscode://vscode-remote/dev-container+2f686f6d652f62696c6c79622f646576656c6f70HEXSTRING//project
vscode://vscode-remote/dev-container+2f686f6d652f62696c6c79622f646576656c6f70HEXSTRING//project/file.txt
vscode://vscode-remote/dev-container+2f686f6d652f62696c6c79622f646576656c6f70HEXSTRING/project/file.txt
vscode://vscode-remote/dev-container//project/file.txt
vscode://vscode-remote/dev-container/project/file.txt
vscode://vscode/dev-container/project/file.txt
vscode://vscode/dev-container+2f686f6d652f62696c6c79622f646576656c6f70HEXSTRING/project/file.txt
vscode://vscode/dev-container/project/file.txt
vscode://vscode/dev-container/project
I can provide the specific error(s) I receive from VS Code, I don't think they are of any help.
Desire
Ability to open a file through VS Code in a remote container using the link method. Would help with navigating to files from the browsers (coming from a debug display i.e.).
Possibly related
:line:column
syntax not working forvscode-remote
url microsoft/vscode-remote-release#7787Beta Was this translation helpful? Give feedback.
All reactions