vscode 协议

//grep.app | code search https://grep.app/search?q=vscode%3A//vscode-remote

'atom' => 'atom://core/open/file?filename={file}&line={line}',
'emacs' => 'emacs://open?url=file://{file}&line={line}',
'idea' => 'idea://open?file={file}&line={line}',
'macvim' => 'mvim://open/?url=file://{file}&line={line}',
'netbeans' => 'netbeans://open/?f={file}:{line}',
'nova' => 'nova://core/open/file?filename={file}&line={line}',
'phpstorm' => 'phpstorm://open?file={file}&line={line}',
'sublime' => 'subl://open?url=file://{file}&line={line}',
'textmate' => 'txmt://open?url=file://{file}&line={line}',
'vscode' => 'vscode://file/{file}:{line}',
'vscode-insiders' => 'vscode-insiders://file/{file}:{line}',
'vscode-insiders-remote' => 'vscode-insiders://vscode-remote/{file}:{line}',
'vscode-remote' => 'vscode://vscode-remote/{file}:{line}',
'vscodium' => 'vscodium://file/{file}:{line}',
'xdebug' => 'xdebug://{file}@{line}',

 

// vscode://vscode-remote/ssh-remote+[host]/[path/to/file]:[line]
// OR
// vscode://file/[path/to/file]:[line]

// vscode://vscode-remote/ssh-remote+root@{output['domain']}:{output['port']}{os.getcwd()}/{repo_name}

 

"C:\Users\c\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" --folder-uri "vscode-remote://wsl+Ubuntu-20.04/home/"
"C:\Users\c\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" --folder-uri "vscode-remote://ssh-remote+129.226.117.145/root/git/"

Visual Studio Code Remote Development Troubleshooting Tips and Tricks
https://code.visualstudio.com/docs/remote/troubleshooting#_connect-to-a-remote-host-from-the-terminal

posted on 2023-01-10 19:06  xiaogezi  阅读(140)  评论(1编辑  收藏  举报

导航