diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-03-15 15:53:15 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-15 15:53:15 +0000 |
commit | eec64ec01b0553aca855df8146965ed6c6746e7d (patch) | |
tree | 40e81ae73928c85bbd6ab452fd317383cf5322d8 /editors/code/src/inlay_hints.ts | |
parent | b8a85e960398ebab4624574f9c2ed9c655612d56 (diff) | |
parent | db8bcf132c901cc9b9f993b17b1e648f55c35e78 (diff) |
Merge #7992
7992: improved completion sorting for functions and methods r=JoshMcguigan a=JoshMcguigan
This PR improves completion sorting for functions and methods. Related to #7935.
### Before
The methods are being sorted by `coc` by closeness in file.
![pre-fn-relevance](https://user-images.githubusercontent.com/22216761/111018669-fe3d3f00-836e-11eb-9607-cc05af080a6a.png)
### After
Notice `bbb()` on top (type + name match), followed by `ddd()` (type match).
![image](https://user-images.githubusercontent.com/22216761/111018680-0e551e80-836f-11eb-94b1-c88336ecbc6e.png)
Co-authored-by: Josh Mcguigan <[email protected]>
Diffstat (limited to 'editors/code/src/inlay_hints.ts')
0 files changed, 0 insertions, 0 deletions