Description
Describe the bug
When the LSP has trouble loading a file, for instance when it's not included in one of the discovered projects, an error is shown on every keystroke. Ideally, this would only happen once on initialization, as it makes it difficult to interact with the file or even to exit vim, since even dismissing the error with the escape key will cause it to retrigger.
And example error, where SOME_FILENAME is the fully qualified path:
ionide: -32603: [SOME_FILENAME] in LoadedProjects. Have the projects loaded yet
or have you tried restoring your project/solution?
I'm hitting this currently while trying out Myriad code generation, which has the more specific problem of the original MyriadFile
not being found by fsautocomplete.
To Reproduce
Open a file not included in an fsproj.
Expected behaviour
The error should be shown a single time on initialization to avoid interrupting workflows that are in an intermediate state (adding a new file to a project) or are not currently supported by fsautocomplete for whatever reason (such as the Myriad situation mentioned above).
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS: OSX
- Vim / Neovim version: v0.10.0
- dotnet SDK version: 8.0.303
Activity