Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit e2cd441

Browse files
author
Don Syme
committed
remove text snapshot objects, is-text-changed callbacks and async behaviour of CheckFileResults
2 parents a57ee94 + 8eb27da commit e2cd441

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CodeFix/ReplaceWithSuggestion.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type internal FSharpReplaceWithSuggestionCodeFixProvider
4545
let fcsCaretLineNumber = Line.fromZ caretLinePos.Line
4646
let partialName = QuickParse.GetPartialLongNameEx(caretLine.ToString(), caretLinePos.Character - 1)
4747

48-
let! declInfo = checkFileResults.GetDeclarationListInfo(Some parseFileResults, fcsCaretLineNumber, caretLine.ToString(), partialName, userOpName=userOpName) |> liftAsync
48+
let declInfo = checkFileResults.GetDeclarationListInfo(Some parseFileResults, fcsCaretLineNumber, caretLine.ToString(), partialName)
4949
let addNames (addToBuffer:string -> unit) =
5050
for item in declInfo.Items do
5151
addToBuffer item.Name

Completion/CompletionProvider.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ type internal FSharpCompletionProvider
122122
|> List.filter (fun assemblySymbol ->
123123
assemblySymbol.FullName.Contains "." && not (PrettyNaming.IsOperatorName assemblySymbol.Symbol.DisplayName))
124124

125-
let! declarations = checkFileResults.GetDeclarationListInfo(Some(parseResults), fcsCaretLineNumber, caretLine.ToString(),
126-
partialName, getAllSymbols, userOpName=userOpName) |> liftAsync
125+
let declarations = checkFileResults.GetDeclarationListInfo(Some(parseResults), fcsCaretLineNumber, caretLine.ToString(),
126+
partialName, getAllSymbols)
127127
let results = List<Completion.CompletionItem>()
128128

129129
declarationItems <-

0 commit comments

Comments
 (0)