Skip to content

Commit 3777a39

Browse files
authored
Merge pull request microsoft#199582 from microsoft/tyriar/197734
Prevent sticky scroll being set at workspace level
2 parents a5c77d6 + 8bf7ff4 commit 3777a39

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.vscode/settings.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,5 @@
164164
"vscode-notebook-renderer",
165165
"src/vs/workbench/workbench.web.main.ts",
166166
"src/vs/workbench/api/common/extHostTypes.ts"
167-
],
168-
// Temporarily enabled for self-hosting
169-
"terminal.integrated.stickyScroll.enabled": true
167+
]
170168
}

src/vs/workbench/contrib/terminal/common/terminalConfiguration.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,7 @@ const terminalConfiguration: IConfigurationNode = {
629629
markdownDescription: localize('terminal.integrated.stickyScroll.enabled', "Experimental: Shows the current command at the top of the terminal."),
630630
type: 'boolean',
631631
default: false,
632-
// TODO: Prevent setting at folder level after it becomes stable,
633-
// scope: ConfigurationScope.APPLICATION
632+
scope: ConfigurationScope.APPLICATION
634633
},
635634
[TerminalSettingId.StickyScrollMaxLineCount]: {
636635
markdownDescription: localize('terminal.integrated.stickyScroll.maxLineCount', "Defines the maximum number of sticky lines to show. Sticky scroll lines will never exceed 40% of the viewport regardless of this setting."),

0 commit comments

Comments
 (0)