Allow to pick any new LSP for a new or existing language without plugins
I suggest to add a feature where:
-
one can pick an LSP binary to add in a new language as an end user, without writing a plugin. (Compare also kate, which allows this.) This would then assume the picked LSP supports syntax highlighting entirely be based on LSP's upcoming semantic highlighting without any additional files needed other than the LSP binary itself
-
one can pick an LSP binary to replace/enhance the insight for any language already known to GNOME Builder (e.g. to pick a different LSP with other functionality than the one GNOME Builder defaults to, or enhance a language known to GNOME Builder without any Code Insight plugins currently available)
This new functionality could be added into the UI as:
-
A plus button add the bottom of the "Programming Languages" list, which would then bring up a dialog asking for name + file extensions.
-
An LSP binary override setting for any programming language listed in the "Programming Languages" list, including the ones newly added above
-
A removal button in the settings for any programming language in the "Programming Languages" list that was custom added via the new plus button
-
Once a custom LSP binary was set for any programmnig language, according entries should pop up in the Code Insight Diagnostics list (for toggling On/Off) and in the Completion Providers list (for toggling on/off).