-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Adopt StorageTarget #109967
Comments
@bpasero how does this interact with |
@alexr00 I tried to explain this above:
Today we don't sync workspace UI state, but we may in the future. Only put |
I should have read more carefully, thank you. |
Thanks for a lot of changes already. I forgot to list the references to memento object that also needs adoption. The new list is: StorageService
Memento (look for |
Thanks, only a few left. Ping @rebornix & @RMacfarlane |
@bpasero I added ScopeTarget in notebook world, the legacygetMemto can be removed now. |
If you own a call to
IStorageService#store
, please adoptIStorageService#store2
where a new argument is required:StorageTarget.USER
: sync it across machinesStorageTarget.MACHINE
: do NOT sync itAs a rule of thumb,
StorageTarget.USER
should be used in almost all cases unless the state is very specific to the machine (e.g. file paths are used, or window dimensions and sizes).Note: even though we do not sync workspace UI state yet, it would still be good to adopt this new method so that we are ready in the future.
Here is a list of areas:
StorageService
workbenchThemeService
@aeschliproductIconThemeData
@aeschlifileIconThemeData
@aeschliremoteExplorerService
@alexr00authenticationService
@RMacfarlanemainThreadAuthentication
@RMacfarlanerunAutomaticTasks
@alexr00abstractTaskService
@alexr00scmService
@meganrogge (history related)experimentService
@sbattenMemento (look for
legacygetMemento
)experimentService
@sbattenwebviewPane
@mjbvzsearchEditorInput
@JacksonKearlnotebookServiceImpl
@rebornixnotebookEditorWidget
@rebornixcontributedCustomEditors
@mjbvzFyi I will go over a few not mentioned here that are straight forward to adopt.
The text was updated successfully, but these errors were encountered: