Handle VSCode auto-save functionality #2579
Labels
enhancement
New feature or request
priority-low
Legit issue but cosmetic or nice-to-have
severity-medium
Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.
If auto-save is enabled in VS Code ("File" -> "Auto Save"), the default behavior is to save every second. Unless users set a longer delay or pick a less aggressive option in the dropdown below, this results in Zowe Explorer continuously issuing new upload requests while a file is being edited (as often as every second if the connection is fast enough).
We would like to limit the number of requests that Zowe Explorer makes, so that we don't flood the mainframe with requests and are able to properly handle conflict management without race conditions. Some ideas for how we could handle this:
vscode.FileSystemProvider
for content downloaded from mainframe #2207), we should have complete control over the file save and conflict handling operations. This would allow us to ignore save events triggered by auto-save and only handle manual saves, or introduce a new VS Code setting that limits the frequency of ZE upload requests.The text was updated successfully, but these errors were encountered: