File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/FsAutoComplete/CodeFixes Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -65,13 +65,9 @@ let mkFix (codeActionParams: CodeActionParams) (sourceText: ISourceText) fixData
6565let fix ( getParseResultsForFile : GetParseResultsForFile ) : CodeFix =
6666 fun ( codeActionParams : CodeActionParams ) ->
6767 asyncResult {
68- // Most code fixes have some general setup.
69- // We initially want to detect the state of the current code and whether we can propose any text edits to the user.
70-
7168 let fileName = codeActionParams.TextDocument.GetFilePath() |> Utils.normalizePath
72- // The converted LSP start position to an FCS start position.
7369 let fcsPos = protocolPosToPos codeActionParams.Range.Start
74- // The syntax tree and typed tree, current line and sourceText of the current file.
70+
7571 let! ( parseAndCheckResults : ParseAndCheckResults , _line : string , sourceText : IFSACSourceText ) =
7672 getParseResultsForFile fileName fcsPos
7773
You can’t perform that action at this time.
0 commit comments