Skip to content

Commit bfb3510

Browse files
committed
Remove commented-out code and simplify string interpolation in AdaptiveFSharpLspServer
1 parent 57e3704 commit bfb3510

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2196,7 +2196,6 @@ type AdaptiveFSharpLspServer
21962196

21972197
let filePath = Path.FileUriToLocalPath p.Item.Uri |> Utils.normalizePath
21982198
let pos = protocolPosToPos p.Item.SelectionRange.Start
2199-
// let! _volatileFile = state.GetOpenFileOrRead filePath |> AsyncResult.ofStringErr
22002199
let! tyRes = state.GetTypeCheckResultsForFile filePath |> AsyncResult.ofStringErr
22012200
let! parseResults = state.GetParseResults filePath |> AsyncResult.ofStringErr
22022201

@@ -2277,7 +2276,7 @@ type AdaptiveFSharpLspServer
22772276
| _ -> SymbolKind.Function
22782277

22792278
let displayName = symbol.DisplayName
2280-
let detail = sprintf $"In {System.IO.Path.GetFileName(UMX.untag targetFile)}"
2279+
let detail = $"In {System.IO.Path.GetFileName(UMX.untag targetFile)}"
22812280

22822281
Some
22832282
{ CallHierarchyItem.Name = displayName

0 commit comments

Comments
 (0)