Skip to content

Commit

Permalink
Remove some scaffold comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Mar 25, 2024
1 parent a6e028f commit 339e5d7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/FsAutoComplete/CodeFixes/NegateBooleanExpression.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 339e5d7

Please sign in to comment.