Commit 65d04d4
Resolve completions properly (zed-industries#18212)
Related to rust-lang/rust-analyzer#18167
* Declare more completion item fields in the client completion resolve
capabilities
* Do resolve completions even if their docs are present
* Instead, do not resolve completions that could not be resolved when
handling the remote client resolve requests
* Do replace the old lsp completion data with the resolved one
Release Notes:
- Improved completion resolve mechanism1 parent a3c6eca commit 65d04d4
File tree
3 files changed
+35
-11
lines changed- crates
- lsp/src
- project/src
- proto/proto
3 files changed
+35
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
618 | | - | |
619 | 618 | | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
620 | 626 | | |
621 | 627 | | |
622 | 628 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1615 | 1615 | | |
1616 | 1616 | | |
1617 | 1617 | | |
1618 | | - | |
1619 | | - | |
1620 | | - | |
1621 | | - | |
1622 | 1618 | | |
1623 | 1619 | | |
1624 | 1620 | | |
| |||
1643 | 1639 | | |
1644 | 1640 | | |
1645 | 1641 | | |
1646 | | - | |
1647 | | - | |
1648 | | - | |
1649 | | - | |
1650 | 1642 | | |
1651 | 1643 | | |
1652 | 1644 | | |
| |||
1743 | 1735 | | |
1744 | 1736 | | |
1745 | 1737 | | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
1746 | 1742 | | |
1747 | 1743 | | |
1748 | 1744 | | |
| |||
1771 | 1767 | | |
1772 | 1768 | | |
1773 | 1769 | | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
1774 | 1774 | | |
1775 | 1775 | | |
1776 | 1776 | | |
| |||
1787 | 1787 | | |
1788 | 1788 | | |
1789 | 1789 | | |
| 1790 | + | |
1790 | 1791 | | |
1791 | 1792 | | |
1792 | 1793 | | |
| |||
4192 | 4193 | | |
4193 | 4194 | | |
4194 | 4195 | | |
4195 | | - | |
| 4196 | + | |
4196 | 4197 | | |
4197 | 4198 | | |
4198 | 4199 | | |
4199 | 4200 | | |
4200 | 4201 | | |
4201 | | - | |
| 4202 | + | |
| 4203 | + | |
| 4204 | + | |
| 4205 | + | |
| 4206 | + | |
| 4207 | + | |
| 4208 | + | |
| 4209 | + | |
| 4210 | + | |
| 4211 | + | |
| 4212 | + | |
| 4213 | + | |
| 4214 | + | |
| 4215 | + | |
| 4216 | + | |
4202 | 4217 | | |
4203 | 4218 | | |
4204 | 4219 | | |
4205 | 4220 | | |
| 4221 | + | |
4206 | 4222 | | |
4207 | 4223 | | |
4208 | 4224 | | |
| |||
4244 | 4260 | | |
4245 | 4261 | | |
4246 | 4262 | | |
| 4263 | + | |
4247 | 4264 | | |
4248 | 4265 | | |
4249 | 4266 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1219 | 1219 | | |
1220 | 1220 | | |
1221 | 1221 | | |
| 1222 | + | |
1222 | 1223 | | |
1223 | 1224 | | |
1224 | 1225 | | |
| |||
0 commit comments