Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
daodol opened this issue Feb 4, 2024 · 3 comments
Open
Labels
enhancement Some improvement that isn't a feature

Comments

@daodol
Copy link

daodol commented Feb 4, 2024

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

@daodol daodol added the enhancement Some improvement that isn't a feature label Feb 4, 2024
@code-asher
Copy link
Member

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

@daodol
Copy link
Author

daodol commented Feb 6, 2024

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

@code-asher
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Some improvement that isn't a feature
Projects
None yet
Development

No branches or pull requests

2 participants