Modules from a local folder #6417
Replies: 1 comment
-
Posted at 2021-03-21 by Robin Sun 2021.03.21 Hi @AnticaT and welcome back! Quite a while back for new-arrivals, I added the three WebIDE link locations, For future reference:
Beneath heading Three WebIDE variants link copied here First link takes one to:
Where the WebIDE may be launched from the upper right. If memory serves, it used to be (pre ~Aug 2020) possible to d/l the native WebIDE as an executable, but I believe for Windows only. I too was surprised just now to learn this. While I've only done this on Win10, it does launch a separate chromeless browser instance. Chrome App, v0.74.1 From WebIDE >> Settings Icon (top right) >> Projects >> Select Directory for Sandbox opens a modal dialog to navigate the folder structure. *info only* Web App, v0.75.3 for the direct link https://www.espruino.com/ide/ And I agree that the 'Projects' folder is not present with that 'opens in tab' version. Posted at 2021-03-22 by @gfwilliams Hi! Yes, the local modules thing is annoying - unfortunately standard Web Apps aren't able to access the local file system, so the feature couldn't be enabled. I'll update the docs. Having said that there are some new filesystem APIs available to Web Browsers now that might allow us to get it working again. It's something that's on my (long) list of things to look at. A good solution, now we have Posted at 2021-03-24 by AntiCat @robin Thank you for the Pointer (https://chrome.google.com/webstore/detail/espruino-web-ide/bleoifhkdalbjfbobjackfdifdneehpo). That’s the IDE Variant I was looking for. I tried the chrome web store before posting here. However, when I enter “Espruino” in the search field the only app that shows up is a fake. It's strange that the in-store-search does not work, at least on my system/language setting. Attachments: Posted at 2021-03-24 by AntiCat @gfwilliams Yes Posted at 2021-03-25 by @gfwilliams Wow, that is a strange one. I think the issue is Chrome has deprecated Apps (like the Web IDE) and doesn't list them in the store any more, but it hasn't deprecated extensions and so still lists those. It's frustrating to have something else in there confusing people though. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2021-03-21 by AntiCat
I've been absent for some years. Coming back a lot has changed. Many new cool features :-). However, one seems to be gone:
https://www.espruino.com/Modules states "If you set a project folder with Web IDE -> Settings -> Project, the Web IDE will automatically create an empty modules folder inside it. Put a module there and you can load it with require("myCustomModule");.
I'm executing the IDE in Chrome on Mac OS X by visiting https://www.espruino.com/ide That version does not have this option. Is there a version with this feature available for download? I've checked Googles Chrome-Appstore but the IDE does not seem to exist there anymore.
Beta Was this translation helpful? Give feedback.
All reactions