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

Use file system access API to open local folders #4710

Open
renothing opened this issue Jan 10, 2022 · 9 comments
Open

Use file system access API to open local folders #4710

renothing opened this issue Jan 10, 2022 · 9 comments
Labels
feature New user visible feature

Comments

@renothing
Copy link

hi there, I found a good feature from vscode.dev

it can be used to open folder from my local computer.
image

is there any plan to support it in code-server?

ref:https://web.dev/file-system-access/

@renothing renothing added the feature New user visible feature label Jan 10, 2022
@jsjoeio
Copy link
Contributor

jsjoeio commented Jan 10, 2022

To make sure I'm hearing you right, you want to be able to access the local file system (i.e. if you run code-server in a remote VM, and then open on your laptop, you want to access the local laptop file system)?

That is a neat feature request! I wonder how difficult it would be to implement. @code-asher what do you think?

We'll add this to the Backlog Candidates and let other folks weigh in with a 👍

@jsjoeio jsjoeio added this to the Backlog Candidates milestone Jan 10, 2022
@code-asher
Copy link
Member

code-asher commented Jan 10, 2022 via email

@code-asher
Copy link
Member

I think vscode.dev does this? So maybe the code is already in place.

@renothing
Copy link
Author

renothing commented Jan 11, 2022

To make sure I'm hearing you right, you want to be able to access the local file system (i.e. if you run code-server in a remote VM, and then open on your laptop, you want to access the local laptop file system)?

That is a neat feature request! I wonder how difficult it would be to implement. @code-asher what do you think?

We'll add this to the Backlog Candidates and let other folks weigh in with a +1

thank you all guys. yes, that's what I mean, it can be used by multiple users or just for a short work scene. currently code-server can be used to open local files but doesn't work for folders

image

@renothing
Copy link
Author

I think vscode.dev does this? So maybe the code is already in place.

currently it's vscode.dev feature only. but with some limitations, which has been mentioned by this issue: microsoft/vscode/issues/136486

@shepherd1530
Copy link

+1 for this

@yairyairyair
Copy link

+100 for this, really REALLY need this feature, currently trying a workaournd (iframe with attaching to the click event)
waiting for update on it

@mdfederici
Copy link

Was surprised to see this didn't work when I moved to code-server. Would be a really useful feature.

@david9991
Copy link

Yeah, vscode.dev requires Web Extensions, that many existing extensions haven't supported yet, including ours, as they need to be implemented using browserify packages. If code-server supported the Filesystem API like vscode.dev does without requiring Web Extensions, it would be very cool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New user visible feature
Projects
None yet
Development

No branches or pull requests

7 participants