Feature request: Update diff view when toggling normalization rules
Re: #18
When in a diff view, toggling normalization rules appears to do nothing. Closing the view and re-applying the comparison gives the expected result, though.
It would be quite nice if the view could be updated automatically, without the need to close it and re-open it.
Memo. Programmatically closing an editor is not allowed; so probably cannot reopen it. Wonder if replacing the virtual document content works.
https://github.com/Microsoft/vscode/issues/39214
Virtual documents are not editable (cf. https://github.com/Microsoft/vscode/issues/10547), seems FileSystemProvider is something I might be able to use to implement this feature.
refs
- FileSystem Providers release note
- Sample extension for FileSystemProvder