Repository navigation
Remove deprecated notebook output settings and migration - #326496
Merged
roblourens merged 2 commits intoJul 19, 2026
Merged
Conversation
Removes the deprecated notebook output settings (notebook.outputLineHeight, notebook.outputFontSize, notebook.outputFontFamily, notebook.experimental.outputScrolling) and their one-time migration logic. These were deprecated in Feb 2023 in favor of the notebook.output.* keys and are no longer registered in the configuration schema, so only the migration code referenced them. Refs #326491 Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
roblourens
enabled auto-merge (squash)
July 19, 2026 00:43
Contributor
There was a problem hiding this comment.
Pull request overview
Removes obsolete notebook output-setting migration code and legacy setting constants.
Changes:
- Removes deprecated notebook setting keys and migration branches.
- Retains direct reads of current
notebook.output.*settings. - Simplifies an unrelated RemoteHub notebook-search comment.
Show a summary per file
| File | Description |
|---|---|
src/vs/workbench/contrib/notebook/common/notebookCommon.ts |
Removes deprecated setting constants. |
src/vs/workbench/contrib/notebook/browser/notebookOptions.ts |
Removes migration logic and reads current settings directly. |
src/vs/workbench/api/common/extHostNotebook.ts |
Updates a temporary-workaround comment. |
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 0
- Review effort level: Medium
Vijay Upadya (vijayupadya)
approved these changes
Jul 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the deprecated notebook output settings and their one-time migration logic:
notebook.outputLineHeight→notebook.output.lineHeightnotebook.outputFontSize→notebook.output.fontSizenotebook.outputFontFamily→notebook.output.fontFamilynotebook.experimental.outputScrolling→notebook.output.scrollingThese were deprecated in Feb 2023 (
8fdb79a56c4) with a// TOOD @rebornix remove after a few iterations of deprecated settingcomment — well past "a few iterations".Why it's safe
notebook.contribution.tsonly registers thenotebook.output.*keys).notebookOptions.tsand the*Deprecatedentries in theNotebookSettingmap._migrateDeprecatedSettingmethod. TheConfigurationTargetimport stays (still used forConfigurationTarget.DEFAULT).Tradeoff
A user who still has an old key in
settings.jsonand hasn't opened a notebook since 2023 will lose that value rather than have it auto-migrated. Given the 3+ year window, that's an acceptable cleanup.Also
// temporary fix for #205044reference inextHostNotebook.ts(the remotehub notebook-results guard), keeping just the behavioral comment.Refs #326491
(Written by Copilot)