Description
openedon Jun 22, 2022
(wasn't sure if we already had an issue for this)
In my mind, the merge editor should not auto save but stay dirty even when auto save is enabled. Especially since it opens dirty right when you click it, auto save fires right after.
Question is: should auto save still be supported if all conflicts are resolved? Maybe that would be a nice model:
- until there are conflicts, auto save ignores the editor
- once all conflicts are resolved, auto save kicks in
I think there is missing working copy support for this because currently auto save is driven by a capability:
vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.ts
Lines 94 to 96 in 75362a6
We could introduce a new capability CanAutoSave
. But unsure how to wire this through because currently the merge editor uses the same text file model working copy as a normal editor.
Thoughts?