diff --git a/src/sql/workbench/common/constants.ts b/src/sql/workbench/common/constants.ts index 96375fad44..71eee33bf0 100644 --- a/src/sql/workbench/common/constants.ts +++ b/src/sql/workbench/common/constants.ts @@ -29,10 +29,11 @@ export const SearchViewFocusedKey = new RawContextKey('notebookSearchVi export const InputBoxFocusedKey = new RawContextKey('inputBoxFocus', false); export const SearchInputBoxFocusedKey = new RawContextKey('searchInputBoxFocus', false); +// !! Do not change these or updates won't be able to deserialize editors correctly !! export const UNTITLED_NOTEBOOK_TYPEID = 'workbench.editorinputs.untitledNotebookInput'; -export const UNTITLED_QUERY_EDITOR_TYPEID = 'workbench.editorinputs.untitledQueryInput'; -export const FILE_QUERY_EDITOR_TYPEID = 'workbench.editorinputs.fileQueryInput'; -export const RESOURCE_VIEWER_TYPEID = 'workbench.editorinputs.resourceViewerInput'; +export const UNTITLED_QUERY_EDITOR_TYPEID = 'workbench.editorInput.untitledQueryInput'; +export const FILE_QUERY_EDITOR_TYPEID = 'workbench.editorInput.fileQueryInput'; +export const RESOURCE_VIEWER_TYPEID = 'workbench.editorInput.resourceViewerInput'; export const JUPYTER_PROVIDER_ID = 'jupyter';