Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ type internal FSharpWorkspaceServiceFactory [<System.Composition.ImportingConstr
let useSyntaxTreeCache = editorOptions.LanguageServicePerformance.UseSyntaxTreeCache

let enableFastFindReferences =
editorOptions.LanguageServicePerformance.EnableFastFindReferences
editorOptions.LanguageServicePerformance.EnableFastFindReferencesAndRename

let isInlineParameterNameHintsEnabled =
editorOptions.Advanced.IsInlineParameterNameHintsEnabled
Expand Down
6 changes: 3 additions & 3 deletions vsintegration/src/FSharp.Editor/Options/EditorOptions.fs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ type LanguageServicePerformanceOptions =
AllowStaleCompletionResults: bool
TimeUntilStaleCompletion: int
EnableParallelReferenceResolution: bool
EnableFastFindReferences: bool
EnableFastFindReferencesAndRename: bool
EnablePartialTypeChecking: bool
UseSyntaxTreeCache: bool
}
Expand All @@ -91,7 +91,7 @@ type LanguageServicePerformanceOptions =
AllowStaleCompletionResults = true
TimeUntilStaleCompletion = 2000 // In ms, so this is 2 seconds
EnableParallelReferenceResolution = false
EnableFastFindReferences = FSharpExperimentalFeaturesEnabledAutomatically
EnableFastFindReferencesAndRename = true
EnablePartialTypeChecking = true
UseSyntaxTreeCache = FSharpExperimentalFeaturesEnabledAutomatically
}
Expand Down Expand Up @@ -237,4 +237,4 @@ module EditorOptionsExtensions =
this.EditorOptions.Advanced.IsBlockStructureEnabled

member this.IsFastFindReferencesEnabled =
this.EditorOptions.LanguageServicePerformance.EnableFastFindReferences
this.EditorOptions.LanguageServicePerformance.EnableFastFindReferencesAndRename
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
</GroupBox>
<GroupBox Header="{x:Static local:Strings.Find_References_Performance}">
<StackPanel>
<CheckBox x:Name="enableFastFindReferences"
IsChecked="{Binding EnableFastFindReferences}"
<CheckBox x:Name="enableFastFindReferencesAndRename"
IsChecked="{Binding EnableFastFindReferencesAndRename}"
Content="{x:Static local:Strings.Enable_Fast_Find_References}"/>
</StackPanel>
</GroupBox>
Expand Down