dotnet / fsharp

The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
https://dotnet.microsoft.com/languages/fsharp
MIT License
3.82k stars 773 forks source link

Split diagnostics into different diagnostic kinds for better user experience #17283

Open abonie opened 3 weeks ago

abonie commented 3 weeks ago

For the VS-diagnostic endpoint (not sure about the regular LSP diagnostic endpoint), we can declare different diagnostic kinds, e.g. syntactic and semantic, and handle them separately. This way syntactic errors will appear much more quickly, while the semantic diagnostics are still being collected.