Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove 'Capture identifiers when parsing' setting from VS options #15939

Merged
merged 2 commits into from
Oct 5, 2023
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
2 changes: 1 addition & 1 deletion vsintegration/src/FSharp.Editor/FSharp.Editor.resx
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ Time until stale results are used (in milliseconds);
Parallelization (requires restart);
Enable parallel type checking with signature files;
Enable parallel reference resolution;
Enable fast find references & rename (experimental);
Enable fast find references & rename (restart required);
Cache parsing results (experimental)</value>
</data>
<data name="6012" xml:space="preserve">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,6 @@ type internal FSharpWorkspaceServiceFactory [<Composition.ImportingConstructor>]
let enableBackgroundItemKeyStoreAndSemanticClassification =
editorOptions.LanguageServicePerformance.EnableBackgroundItemKeyStoreAndSemanticClassification

// Default should be true
let captureIdentifiersWhenParsing =
editorOptions.LanguageServicePerformance.CaptureIdentifiersWhenParsing

// Default is false here
let solutionCrawler = editorOptions.Advanced.SolutionBackgroundAnalysis

Expand All @@ -169,7 +165,7 @@ type internal FSharpWorkspaceServiceFactory [<Composition.ImportingConstructor>]
nameof keepAllBackgroundSymbolUses, keepAllBackgroundSymbolUses
nameof enableBackgroundItemKeyStoreAndSemanticClassification,
enableBackgroundItemKeyStoreAndSemanticClassification
nameof captureIdentifiersWhenParsing, captureIdentifiersWhenParsing
"captureIdentifiersWhenParsing", enableFastFindReferences
nameof solutionCrawler, solutionCrawler
|],
TelemetryThrottlingStrategy.NoThrottling
Expand All @@ -186,7 +182,7 @@ type internal FSharpWorkspaceServiceFactory [<Composition.ImportingConstructor>]
enableBackgroundItemKeyStoreAndSemanticClassification,
enablePartialTypeChecking = enablePartialTypeChecking,
parallelReferenceResolution = enableParallelReferenceResolution,
captureIdentifiersWhenParsing = captureIdentifiersWhenParsing,
captureIdentifiersWhenParsing = enableFastFindReferences,
documentSource =
(if enableLiveBuffers then
DocumentSource.Custom getSource
Expand Down
2 changes: 0 additions & 2 deletions vsintegration/src/FSharp.Editor/Options/EditorOptions.fs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ type LanguageServicePerformanceOptions =
KeepAllBackgroundResolutions: bool
KeepAllBackgroundSymbolUses: bool
EnableBackgroundItemKeyStoreAndSemanticClassification: bool
CaptureIdentifiersWhenParsing: bool
}

static member Default =
Expand All @@ -103,7 +102,6 @@ type LanguageServicePerformanceOptions =
KeepAllBackgroundResolutions = false
KeepAllBackgroundSymbolUses = false
EnableBackgroundItemKeyStoreAndSemanticClassification = true
CaptureIdentifiersWhenParsing = true
}

[<CLIMutable>]
Expand Down
4 changes: 2 additions & 2 deletions vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.cs.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.de.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.es.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.fr.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.it.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ja.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ko.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pl.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pt-BR.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ru.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.tr.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@
<CheckBox x:Name="enableBackgroundItemKeyStoreAndSemanticClassification"
IsChecked="{Binding EnableBackgroundItemKeyStoreAndSemanticClassification}"
Content="{x:Static local:Strings.Enable_Background_ItemKeyStore_And_Semantic_Classification}"/>
<CheckBox x:Name="captureIdentifiersWhenParsing"
IsChecked="{Binding CaptureIdentifiersWhenParsing}"
Content="{x:Static local:Strings.Capture_Identifiers_When_Parsing}"/>
</StackPanel>
</GroupBox>

Expand Down
9 changes: 0 additions & 9 deletions vsintegration/src/FSharp.UIResources/Strings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions vsintegration/src/FSharp.UIResources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,6 @@
<data name="Enable_Background_ItemKeyStore_And_Semantic_Classification" xml:space="preserve">
<value>Keep background symbol keys</value>
</data>
<data name="Capture_Identifiers_When_Parsing" xml:space="preserve">
<value>Capture identifiers while parsing</value>
</data>
<data name="Enable_Live_Buffers" xml:space="preserve">
<value>Use live (unsaved) buffers for checking (restart required)</value>
</data>
Expand Down
5 changes: 0 additions & 5 deletions vsintegration/src/FSharp.UIResources/xlf/Strings.cs.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions vsintegration/src/FSharp.UIResources/xlf/Strings.de.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions vsintegration/src/FSharp.UIResources/xlf/Strings.es.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions vsintegration/src/FSharp.UIResources/xlf/Strings.fr.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions vsintegration/src/FSharp.UIResources/xlf/Strings.it.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions vsintegration/src/FSharp.UIResources/xlf/Strings.ja.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions vsintegration/src/FSharp.UIResources/xlf/Strings.ko.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions vsintegration/src/FSharp.UIResources/xlf/Strings.pl.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions vsintegration/src/FSharp.UIResources/xlf/Strings.pt-BR.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions vsintegration/src/FSharp.UIResources/xlf/Strings.ru.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions vsintegration/src/FSharp.UIResources/xlf/Strings.tr.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading