File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
vsintegration/src/FSharp.Editor/Completion Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ type internal FSharpCompletionProvider
3434 inherit CompletionProvider()
3535
3636 static let userOpName = " CompletionProvider"
37- static let completionTriggers = [| '.' |]
3837 static let declarationItemsCache = ConditionalWeakTable< string, FSharpDeclarationListItem>()
3938 static let [<Literal>] NameInCodePropName = " NameInCode"
4039 static let [<Literal>] FullNamePropName = " FullName"
@@ -87,13 +86,13 @@ type internal FSharpCompletionProvider
8786 let triggerPosition = caretPosition - 1
8887 let c = sourceText.[ triggerPosition]
8988
90- if completionTriggers |> Array.contains c then
91- true
92-
9389 // do not trigger completion if it's not single dot, i.e. range expression
94- elif triggerPosition > 0 && sourceText.[ triggerPosition - 1 ] = '.' then
90+ if not Settings.IntelliSense.ShowAfterCharIsTyped && sourceText.[ triggerPosition - 1 ] = '.' then
9591 false
9692
93+ elif c = '.' then
94+ true
95+
9796 // Trigger completion if we are on a valid classification type
9897 else
9998 let documentId , filePath , defines = getInfo()
You can’t perform that action at this time.
0 commit comments