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

Hot Exit: textFileServices.ts feedback #14079

Closed
bpasero opened this issue Oct 20, 2016 · 3 comments
Closed

Hot Exit: textFileServices.ts feedback #14079

bpasero opened this issue Oct 20, 2016 · 3 comments
Assignees
Labels
debt Code quality issues workbench-hot-exit Preservation of unsaved changes across restarts
Milestone

Comments

@bpasero
Copy link
Member

bpasero commented Oct 20, 2016

Besides other feedback mentioned already (move backup logic into new backup service), there are some issues I noticed:

There is a public backup() method that does not seem to be used anywhere.

doBackupAll() seems to be very complicated and possibly copied from another method. Do you need the source/target information really?

I do not understand this comment: // Only remove the workspace from the backup service if it's not the last one or it's not dirty
Do we prevent hot exit for multiple windows with this check?

@bpasero bpasero added workbench-hot-exit Preservation of unsaved changes across restarts debt Code quality issues labels Oct 20, 2016
@Tyriar
Copy link
Member

Tyriar commented Oct 21, 2016

RE: the comments, yes it's disabled until #13305 is done

@bpasero
Copy link
Member Author

bpasero commented Oct 21, 2016

Ok maybe update the comment and point to the issue, it is very hard to understand whats going on from just reading it.

@Tyriar Tyriar modified the milestone: Backlog Nov 1, 2016
@bpasero
Copy link
Member Author

bpasero commented Nov 18, 2016

I think this is much better now?

@Tyriar Tyriar closed this as completed Nov 18, 2016
@Tyriar Tyriar modified the milestones: November 2016, Backlog Nov 18, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debt Code quality issues workbench-hot-exit Preservation of unsaved changes across restarts
Projects
None yet
Development

No branches or pull requests

2 participants