halohalospecial / atom-elmjutsu

A bag of tricks for developing with Elm. (Atom package)
https://atom.io/packages/elmjutsu
MIT License
192 stars 24 forks source link

Feature Request: Offline support? #47

Closed jah2488 closed 7 years ago

jah2488 commented 7 years ago

Hey!

I love elmjutsu it is really amazing and useful. I also have spotty internet where I live and sometimes find myself hacking on an elm project without any. I've noticed this causes several elmjutsu related features like autocomplete, imports, and the sidekick to not work or provide their same level of utility. They're not broken, they just clearly expect a constant internet connection.

I haven't looked into it, so it may not even be possible to have a local cache of autocomplete definitions and documentation, but it if were an option that'd great.

A half way solution would be someway of forcing a reload or local cache, because I've always run into a few situations where my internet is restored but the sidekick our autocomplete continues to say I'm offline, or there was a connection error, etc.

Thanks again!

halohalospecial commented 7 years ago

Hi! You can set Cache Directory to a non-temporary directory so that elmjutsu does not need to download 3rd-party docs again when you restart Atom.

jah2488 commented 7 years ago

@halohalospecial This is great, I didn't realize that. Thanks!