Skip to content

Use file system access API to open local folders #4710

Open
@renothing

Description

@renothing

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/

Activity

jsjoeio

jsjoeio commented on Jan 10, 2022

@jsjoeio
Contributor

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 👍

added this to the Backlog Candidates milestone on Jan 10, 2022
code-asher

code-asher commented on Jan 10, 2022

@code-asher
Member
code-asher

code-asher commented on Jan 10, 2022

@code-asher
Member

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

renothing

renothing commented on Jan 11, 2022

@renothing
Author

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

renothing commented on Jan 18, 2022

@renothing
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

realsama

realsama commented on Jun 24, 2022

@realsama

+1 for this

yairyairyair

yairyairyair commented on Oct 5, 2022

@yairyairyair

+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

mdfederici commented on Nov 18, 2022

@mdfederici

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

david9991

david9991 commented on Jul 21, 2023

@david9991

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew user visible feature

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Use file system access API to open local folders · Issue #4710 · coder/code-server