vscode-partial-diff icon indicating copy to clipboard operation
vscode-partial-diff copied to clipboard

Feature request: Update diff view when toggling normalization rules

Open stepbeta opened this issue 7 years ago • 2 comments

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.

stepbeta avatar Apr 20 '18 15:04 stepbeta

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

ryu1kn avatar Aug 13 '18 13:08 ryu1kn

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

ryu1kn avatar Aug 14 '18 09:08 ryu1kn