Skip to content

Convert raw command line arguments to --file-uri and --folder-uri#25

Open
owtaylor wants to merge 1 commit intomainfrom
file-folder-uri
Open

Convert raw command line arguments to --file-uri and --folder-uri#25
owtaylor wants to merge 1 commit intomainfrom
file-folder-uri

Conversation

@owtaylor
Copy link
Copy Markdown
Owner

@owtaylor owtaylor commented Mar 8, 2022

Calling Visual Studio Code with

'--remote attached-container+'

Resolves and to folder-or-file based on heuristics
before passing them to the remote container. So it's better to check
locally whether paths are folders or files and use the --file-uri and
--folder-uri arguments.

Fixes: #14

Calling Visual Studio Code with

   '--remote attached-container+<xxx>' <PATH1> <PATH2>

Resolves <PATH1> and <PATH2> to folder-or-file based on heuristics
before passing them to the remote container. So it's better to check
locally whether paths are folders or files and use the --file-uri and
--folder-uri arguments.

Fixes: #14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

not opening folder when exec in dot directory

1 participant