ionide / FsAutoComplete

F# language server using Language Server Protocol
Other
391 stars 151 forks source link

Fix tooltip errorhandling #1195

Closed pblasucci closed 7 months ago

pblasucci commented 8 months ago

Co-authored-by: Jimmy Byrd TheAngryByrd@users.noreply.github.com

WHAT

πŸ€– Generated by Copilot at 683625a

This pull request refactors and improves some parts of the FsAutoComplete core and LSP server modules, especially related to error handling, type conversions, and option types. It also adds a new test case for the inline hints feature and cleans up some whitespace in the test project file. The main files affected are Commands.fs, ParseAndCheckResults.fs, AdaptiveFSharpLspServer.fs, Common.fs, InlineHintsTests.fs, and FsAutoComplete.Tests.Lsp.fsproj.

πŸ€– Generated by Copilot at 683625a

The server for F# LSP Got some refactoring to see Result to option And error adoption With better formatting and speed

πŸ› οΈπŸš€πŸ§Ή

WHY

Because proper modelling and handling of various program states is important (and the hack session was fun!)

HOW

πŸ€– Generated by Copilot at 683625a

1eyewonder commented 7 months ago

Yep I'll get it on later this evening πŸ˜„