ionide-vscode-fsharp
ionide-vscode-fsharp copied to clipboard
[Regression 7.0.0] Adding #load or #r instruction now require a restart for Ionide to pick up the new APIs
Hello
Describe the bug
Adding #load or #r instruction now require a restart for Ionide to pick up the new APIs
This is a regression compared to version 6.0.6.
Steps to reproduce
FileA.fsx
let upper (text : string) = text.ToUpper()
FileB.fsx
let name = "Stormblessed"
- Open an
FileB.fsx
file - Wait for Ionide to load (hover should be working or you should see the linelense)
- Add
#load "./FileA.fsx
- Try to add
FileA.upper
- See that
FileA.upper
doesn't exist - Reload Ionide
- Wait for Ionide to load
- See that now in
FileB.fsx
,FileA.upper
is recognised
Expected behaviour
Ionide should recognised the new module available without a reload.
Machine info
- OS: Linux / Pop!_OS 22.04 LTS
- .NET SDK version: 6.0.301
- Ionide version: 7.0.0