ycm-core / ycmd

A code-completion & code-comprehension server
https://ycm-core.github.io/ycmd/
GNU General Public License v3.0
1.69k stars 764 forks source link

[READY] Make C# completer consistent with other completers regarding GoToDocumentOutline #1724

Closed bstaletic closed 8 months ago

bstaletic commented 8 months ago

All other semantic completers return a list only when more than one item is in the list. Otherwise return that one item.

WIP because I can't be bothered to set up C# on my machine. I will be using CI for that instead.


This change is Reviewable

bstaletic commented 8 months ago

*nix seems happy with this pull request, so marking it ready.

codecov[bot] commented 8 months ago

Codecov Report

Merging #1724 (cb16efa) into master (d73494d) will increase coverage by 0.00%. The diff coverage is 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1724 +/- ## ======================================= Coverage 95.47% 95.47% ======================================= Files 83 83 Lines 8168 8177 +9 Branches 163 163 ======================================= + Hits 7798 7807 +9 Misses 320 320 Partials 50 50 ```
mergify[bot] commented 8 months ago

Thanks for sending a PR!