Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add experimental prepareForHotExit method for custom editors #88948

Merged
merged 1 commit into from
Jan 24, 2020

Commits on Jan 24, 2020

  1. Adds a backup method

    Adds a backup method to the custom editor API proposal. This method allows custom editors to hook in to VS Code's hot exit behavior
    
    If `backup` is not implemented, VS Code will assume that the custom editor cannot be hot exited.
    
    When `backup` is implemented, VS Code will invoke the method after every edit (this is debounced). At this point, this extension should back up the current resource.  The result is a promise indicating if the backup was successful or not
    
    VS Code will only hot exit if all backups were successful.
    mjbvz committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    f6dd919 View commit details
    Browse the repository at this point in the history