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._formattedWhich returns something like: vscode-remote/dev-container+7b22686f737450617468223a226578616d706c65227d/workspace/projectWhere you can prepend vscode://vscode-remote/dev-container+7b22686f737450617468223a226578616d706c65227d/workspace/projectNOTE: 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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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_EDITORavailable 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/projectsee this issue for explanation on hexvscode://vscode-remote/dev-container+2f686f6d652f62696c6c79622f646576656c6f70HEXSTRING//projectvscode://vscode-remote/dev-container+2f686f6d652f62696c6c79622f646576656c6f70HEXSTRING//project/file.txtvscode://vscode-remote/dev-container+2f686f6d652f62696c6c79622f646576656c6f70HEXSTRING/project/file.txtvscode://vscode-remote/dev-container//project/file.txtvscode://vscode-remote/dev-container/project/file.txtvscode://vscode/dev-container/project/file.txtvscode://vscode/dev-container+2f686f6d652f62696c6c79622f646576656c6f70HEXSTRING/project/file.txtvscode://vscode/dev-container/project/file.txtvscode://vscode/dev-container/projectI 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:columnsyntax not working forvscode-remoteurl microsoft/vscode-remote-release#7787Beta Was this translation helpful? Give feedback.
All reactions