usethesource / rascal-language-servers

An LSP server for Rascal which includes an easy-to-use LSP generator for languages implemented in Rascal, and an interactive terminal REPL.
BSD 2-Clause "Simplified" License
10 stars 7 forks source link

LSP actions do not check for unsaved changes #403

Open toinehartman opened 2 months ago

toinehartman commented 2 months ago

Describe the bug

Certain LSP actions, like rename refactoring, require the open file to not have any unsaved changes. The LSP should check for this and inform the user if the action cannot be performed.