Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4529c8f

Browse files
cartermpKevinRansom
authored andcommitted
Do not show symbols from unopened places by default (dotnet#5739)
1 parent88ad9d3 commit4529c8f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

‎vsintegration/src/FSharp.Editor/Completion/CompletionProvider.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ type internal FSharpCompletionProvider
221221
let!_parsingOptions,projectOptions= projectInfoManager.TryGetOptionsForEditingDocumentOrProject(document)
222222
let!textVersion= context.Document.GetTextVersionAsync(context.CancellationToken)
223223
letgetAllSymbols(fileCheckResults:FSharpCheckFileResults)=
224-
if settings.IntelliSense.ShowAllSymbols
224+
if settings.IntelliSense.IncludeSymbolsFromUnopenedNamespacesOrModules
225225
then assemblyContentProvider.GetAllEntitiesInProjectAndReferencedAssemblies(fileCheckResults)
226226
else[]
227227
let!results=

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ type EnterKeySetting =
2828
typeIntelliSenseOptions=
2929
{ ShowAfterCharIsTyped:bool
3030
ShowAfterCharIsDeleted:bool
31-
ShowAllSymbols:bool
31+
IncludeSymbolsFromUnopenedNamespacesOrModules:bool
3232
EnterKeySetting:EnterKeySetting}
3333
static memberDefault=
3434
{ ShowAfterCharIsTyped=true
3535
ShowAfterCharIsDeleted=true
36-
ShowAllSymbols=true
36+
IncludeSymbolsFromUnopenedNamespacesOrModules=false
3737
EnterKeySetting= EnterKeySetting.NeverNewline}
3838

3939

‎vsintegration/src/FSharp.UIResources/IntelliSenseOptionControl.xaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<CheckBoxx:Name="charDeleted"IsEnabled="{Binding IsChecked, ElementName=charTyped}"IsChecked="{Binding ShowAfterCharIsDeleted}"
2626
Content="{x:Static local:Strings.Show_completion_list_after_a_character_is_deleted}"/>
2727
</StackPanel>
28-
<CheckBoxx:Name="showAllSymbols"IsChecked="{BindingShowAllSymbols}"
28+
<CheckBoxx:Name="showAllSymbols"IsChecked="{BindingIncludeSymbolsFromUnopenedNamespacesOrModules}"
2929
Content="{x:Static local:Strings.Show_all_symbols}"/>
3030
</StackPanel>
3131
</GroupBox>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp