Request: Formatter to emit proven fine-grained edits #3415
Labels
kind: enhancement
Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
part: language server
Support for LSP in Dafny (server part; client is in ide-vscode repo)
In the PR #2399, formatting on the IDE results in an action that wipes out entirely the previous text and inserts the formatted program.
It would be great to actually transform the formatter in Dafny to emit a diff such that we prove that applying the diff provides the same output, and we can then emit that diff instead of a single change.
Benefits
See function
GetTextEditToFormatCode
in the LSP.The text was updated successfully, but these errors were encountered: