aki77 / atom-autosave-plus Goto Github PK
View Code? Open in Web Editor NEWAutosave with some extensions
Home Page: https://atom.io/packages/autosave-plus
License: MIT License
Autosave with some extensions
Home Page: https://atom.io/packages/autosave-plus
License: MIT License
Hi! Thanks for maintaining the autosave-plus package!
In Atom v1.19, we will release a major change to Atom's core text buffer data structure. As part of this change, we have made TextBuffer.save
asynchronous; rather than blocking until the save is complete, it now immediately returns a Promise
that resolves when the save is complete. Because of this, a few other Atom APIs that use save
have similarly become async:
Pane.close
TextBuffer.save
TextEditor.save
Pane.saveItem
Pane.saveItemAs
Pane.saveActiveItem
Pane.saveActiveItemAs
Pane.saveItems
Workspace.saveActivePaneItem
Workspace.saveActivePaneItemAs
We think this package could be impacted by this upgrade because it calls the changed methods in the following places:
We found these calls using a regex search, so this list might be incomplete, and it might contain some false positives.
It should be pretty easy to adjust your package code and/or tests to work with the new async behavior, and to simultaneously keep it working with older versions of Atom. Here are some examples of pull requests we opened on our bundled packages to cope with the change:
Please let me know if you have any questions. I'd be happy to help!
Some information about functionality would be great
@aki77 様
はじめまして、お世話になります。 @tomoya こと大竹智也と申します。
この度、こちらのパッケージとは直接関係ありませんが、イシューにてご連絡させていただくことをお許し下さい。
私は4月末に技術評論社より発売されたWEB+DB PRESS Vol.86 の特集2にて、実践Atomという記事を書かせていただいた者ですが、
現在、更にAtomについて調査している中で、最近では @aki77 様が、日本人の中で特に活発にAtomのパッケージを書かれていることに気付きました。
そこで、お願いなのですが、AtomやAtomのパッケージについて、現在 @aki77 様が感じていらっしゃることをお聞きしたく、この度、ご連絡させて頂きました。
もし、取材が可能でしたら、ご返事をお願い致します。
ご返事は、こちらのイシューでも、私のメールでも構いません。
私のメールアドレスはこちらになります。
[email protected]
お忙しいところ、恐れ入りますが、何卒宜しくお願い申し上げます。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.