ionide / FsAutoComplete

F# language server using Language Server Protocol
Other
399 stars 153 forks source link

Make the CLI parser not barf on unknown tokens #1026

Open baronfel opened 1 year ago

baronfel commented 1 year ago

Per https://github.com/fsharp/FsAutoComplete/pull/952 unknown tokens cause exceptions. We should be more flexible and ignore them instead of hard erroring to make backwards-compatibility easier.

TheAngryByrd commented 1 year ago

I think https://learn.microsoft.com/en-us/dotnet/api/system.commandline.command.treatunmatchedtokensaserrors?view=system-commandline might be what we need to set. Otherwise we probably want to keep old flags around and create issues for clients when we deprecate them.