Add a free-text "description" field to `serverInfo`
#1,752 创建于 2023年6月23日
描述
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.