x/tools/gopls: add a mechanism for marking a setting deprecated in documentation #42107
We currently have a way of notifying users that they are using a deprecated setting, but it would also be nice to mark the deprecation in the documentation. This way, we could surface the deprecation in the
/cc @heschik @hyangah
Edit: This would be doable by adding a struct tag that sets a field's status to "deprecated". We could then use reflection to check the field's status when setting it. However, we should probably only do this once we set all options using reflection, which is a big enough change that we shouldn't do it until after February.
The text was updated successfully, but these errors were encountered: