-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Improve completion label details display #15956
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@bors r+ |
Improve completion label details display This PR improves completion label details display by separating trait and alias info from the `label` LSP field to an additional existing `label_detail` field. Changes look like the following: ### Before  ### After  _All existing tests are passed without any changes in test themselves logic._
@bors r- |
@bors r+ |
@lnicola As I understand @bors will complete this PR as it saw it on the f8bf1dc commit. |
I think it's using the new version now: 8733728. |
@lnicola Thank you for such fast assisting and approval of this changes! |
☀️ Test successful - checks-actions |
fix: add fallback for completion label details This PR adds a fallback to a previous implementation in a case when the label detail field isn't supported by LSP client and the support isn't reported by the LSP initialize request. In this case additional info about trait and aliases would be merged into the label field as it was before the #15956 PR.
This PR improves completion label details display by separating trait and alias info from the
label
LSP field to an additional existinglabel_detail
field. Changes look like the following:Before
After
All existing tests are passed without any changes in test themselves logic.