Skip to content

Commit be6352d

Browse files
authored
Enable Live Buffers by default (#16176)
1 parent 72ee6e4 commit be6352d

32 files changed

+87
-152
lines changed

vsintegration/src/FSharp.Editor/FSharp.Editor.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Display inline type hints (preview);
227227
Display return type hints (preview);
228228
Display inline parameter name hints (preview);
229229
Live Buffers;
230-
Use live (unsaved) buffers for checking</value>
230+
Use live (unsaved) buffers for analysis</value>
231231
</data>
232232
<data name="6014" xml:space="preserve">
233233
<value>Formatting</value>

vsintegration/src/FSharp.Editor/LanguageService/LanguageService.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ type internal FSharpWorkspaceServiceFactory [<Composition.ImportingConstructor>]
114114
let enableParallelReferenceResolution =
115115
editorOptions.LanguageServicePerformance.EnableParallelReferenceResolution
116116

117-
let enableLiveBuffers = editorOptions.Advanced.IsLiveBuffersEnabled
117+
let enableLiveBuffers = editorOptions.Advanced.IsUseLiveBuffersEnabled
118118

119119
let useSyntaxTreeCache = editorOptions.LanguageServicePerformance.UseSyntaxTreeCache
120120

vsintegration/src/FSharp.Editor/Options/EditorOptions.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ type AdvancedOptions =
112112
IsInlineTypeHintsEnabled: bool
113113
IsInlineParameterNameHintsEnabled: bool
114114
IsInlineReturnTypeHintsEnabled: bool
115-
IsLiveBuffersEnabled: bool
115+
IsUseLiveBuffersEnabled: bool
116116
SendAdditionalTelemetry: bool
117117
SolutionBackgroundAnalysis: bool
118118
}
@@ -124,7 +124,7 @@ type AdvancedOptions =
124124
IsInlineTypeHintsEnabled = false
125125
IsInlineParameterNameHintsEnabled = false
126126
IsInlineReturnTypeHintsEnabled = false
127-
IsLiveBuffersEnabled = FSharpExperimentalFeaturesEnabledAutomatically
127+
IsUseLiveBuffersEnabled = true
128128
SendAdditionalTelemetry = true
129129
SolutionBackgroundAnalysis = false
130130
}

vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.cs.xlf

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.de.xlf

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.es.xlf

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.fr.xlf

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.it.xlf

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ja.xlf

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ko.xlf

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)