Closed sheridanchris closed 9 months ago
This seems to work for a multi-project solution but I'll have to test it more to make sure there aren't any oddities. I could invoke the fsharp.clearCache
command but I'm not sure how useful that is, feedback is required.
WHAT
π€ Generated by Copilot at 8a851bf
This pull request adds a new feature to the extension that allows users to restart the F# language service from the command palette or a keyboard shortcut. It defines a new command
fsharp.restartLanguageService
and registers it in therelease/package.json
,src/Core/LanguageService.fs
, andsrc/fsharp.fs
files.π€ Generated by Copilot at 8a851bf
πππ§
This will close #1911![image](https://github.com/ionide/ionide-vscode-fsharp/assets/105478675/ced08464-d951-420b-a279-da958bb23697)
WHY
1911
HOW
π€ Generated by Copilot at 8a851bf
package.json
with the title "Restart Language Service" and the category "F#" (link)package.json
(link)LanguageService.fs
by defining a "restart" function that stops and starts the language service using a promise (link)LanguageService.fs
(link)LanguageService.activate
infsharp.fs
(link)