From 339e5d7b7927959be7c28f3bcbd618c37b9ccca3 Mon Sep 17 00:00:00 2001 From: nojaf Date: Mon, 25 Mar 2024 08:48:11 +0100 Subject: [PATCH] Remove some scaffold comments --- src/FsAutoComplete/CodeFixes/NegateBooleanExpression.fs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/FsAutoComplete/CodeFixes/NegateBooleanExpression.fs b/src/FsAutoComplete/CodeFixes/NegateBooleanExpression.fs index bd50fcc54..133f53f12 100644 --- a/src/FsAutoComplete/CodeFixes/NegateBooleanExpression.fs +++ b/src/FsAutoComplete/CodeFixes/NegateBooleanExpression.fs @@ -65,13 +65,9 @@ let mkFix (codeActionParams: CodeActionParams) (sourceText: ISourceText) fixData let fix (getParseResultsForFile: GetParseResultsForFile) : CodeFix = fun (codeActionParams: CodeActionParams) -> asyncResult { - // Most code fixes have some general setup. - // We initially want to detect the state of the current code and whether we can propose any text edits to the user. - let fileName = codeActionParams.TextDocument.GetFilePath() |> Utils.normalizePath - // The converted LSP start position to an FCS start position. let fcsPos = protocolPosToPos codeActionParams.Range.Start - // The syntax tree and typed tree, current line and sourceText of the current file. + let! (parseAndCheckResults: ParseAndCheckResults, _line: string, sourceText: IFSACSourceText) = getParseResultsForFile fileName fcsPos