code-server icon indicating copy to clipboard operation
code-server copied to clipboard

[Feat]: how to open folder or server path through code server url param

Open daodol opened this issue 1 year ago • 3 comments

how to open folder or server path through code server url param? for example https://vscode.dev?folder=xxx

daodol avatar Feb 04 '24 05:02 daodol

code-server also supports the folder query parameter. Are you encountering a bug with it?

code-asher avatar Feb 05 '24 19:02 code-asher

code-server also supports the folder query parameter. Are you encountering a bug with it?

ok,but I didn't find the full documentation on this and I don't know how to use it

daodol avatar Feb 06 '24 02:02 daodol

It is mainly meant to be used with File > Open Folder from within VS Code, but you can construct it manually by pointing it to any directory on the remote machine. https://domain.com?folder=/home/coder/project for example.

code-asher avatar Feb 06 '24 21:02 code-asher

Closing as stale but feel free to comment if you come back to this.

code-asher avatar Jul 12 '24 00:07 code-asher