AdaCore / Ada-IntelliJ

Support for Ada and SPARK languages in IntelliJ IDEA
Apache License 2.0
21 stars 8 forks source link

Send LSP text synchronization save requests/notifications #58

Open raja-s opened 5 years ago

raja-s commented 5 years ago

LSP save methods textDocument/didSave, textDocument/willSave and textDocument/willSaveWaitUntil are implemented but the requests/notifications are currently never sent to the server. The FileDocumentManagerListener interface is probably what we need for willSave and willSaveWaitUntil, however there doesn't seem to be support for a listener to be called after a document is saved, so I'm not sure how sending didSave notifications can be implemented.