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

File System Access API #247

Open
gniezen opened this issue Dec 23, 2020 · 4 comments
Open

File System Access API #247

gniezen opened this issue Dec 23, 2020 · 4 comments

Comments

@gniezen
Copy link

gniezen commented Dec 23, 2020

Hi there!

I'm just wondering if there are plans to use Chrome's new File System Access API (https://web.dev/file-system-access/) to handle opening and saving of source files in the Web IDE?

@gfwilliams
Copy link
Member

I didn't personally have plans but it's something I'd love to get included, and should be reasonably easy to do.

Currently we also have the 'Projects' plugin that works when the IDE is used as a Chrome app, and it'd be great to be able to modify that (or just duplicate functionality) such that modules could be pulled from a local folder too.

@gniezen gniezen changed the title Filey System Access API File System Access API Dec 31, 2020
@gfwilliams
Copy link
Member

Some decent steps towards this are now in 3970caa

@Pringels
Copy link

Pringels commented Jun 4, 2023

I'd be happy to port the existing projects functionality over to the File System Access API

@gfwilliams
Copy link
Member

That would be great, thanks! I've recently pushed some big changes to https://github.com/espruino/EspruinoWebIDE/blob/master/js/core/file.js to allow multiple files, but also to use window.showSaveFilePicker/etc so at least we are using the new API there, but moving projects to it would be great.

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

No branches or pull requests

3 participants