Add a free-text "description" field to `serverInfo`
#1 752 ouverte le 23 juin 2023
Métriques du dépôt
- Stars
- (12 810 stars)
- Métriques de merge PR
- (Merge moyen 19h 29m) (12 PRs mergées en 30 j)
Description
It would be nice to have a free-text (or perhaps markdown) field in serverInfo for the server to provide any server-specific information that it thinks the user might want to see.
Here's an example. The Haskell language server supports different features depending which version of the Haskell compiler it is built for (typically we start with partial support for a new compiler version and then add more over time). This means that users can be surprised that some feature is not available. At the moment, we have no easy way of conveying this to the user. The information is HLS-specific, so it's not clear that we could have a standard format for "server features". The simplest thing would just be to have a free text field so the server can put whatever it wants in there.
We can of course emit this information to the log, but it would be nice for users to have a standard place where static information about the server was recorded.