Skip to content
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

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

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

bstaletic
Copy link
Collaborator

@bstaletic bstaletic commented Jan 4, 2024

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 bstaletic force-pushed the cs-consistency branch 2 times, most recently from c5e58a3 to cb16efa Compare January 4, 2024 19:34
…mentOutline

All other semantic completers return a list only when more than one item
is in the list. Otherwise return that one item.
@bstaletic bstaletic changed the title [WIP] Make C# completer consistent with other completers regarding GoToDocumentOutline [READY] Make C# completer consistent with other completers regarding GoToDocumentOutline Jan 4, 2024
@bstaletic
Copy link
Collaborator Author

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

Copy link

codecov bot commented Jan 4, 2024

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
@@           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           

Copy link
Member

@puremourning puremourning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: 1 of 2 LGTMs obtained (waiting on @bstaletic)

@bstaletic bstaletic added the Ship It! Manual override to merge a PR by maintainer label Jan 4, 2024
Copy link
Contributor

mergify bot commented Jan 4, 2024

Thanks for sending a PR!

@mergify mergify bot merged commit b34008a into ycm-core:master Jan 4, 2024
17 of 18 checks passed
@bstaletic bstaletic deleted the cs-consistency branch January 4, 2024 20:14
bstaletic added a commit to ycm-core/YouCompleteMe that referenced this pull request Feb 18, 2024
Changes since the last update:

ycm-core/ycmd#1728 YcmShowDetailedDiagnostic should now match what is echoed on the command line.
ycm-core/ycmd#1731 Add support for `workspace/didChangeWorkspaceFolders` LSP notification.
ycm-core/ycmd#1730 LSP servers are now updated with latest server state afer reset
ycm-core/ycmd#1727 Update JDT to version 1.31.0
ycm-core/ycmd#1726 C# symbol search filtering fix
ycm-core/ycmd#1724 C# GoToDocumentOutline consistency patch
ycm-core/ycmd#1723 Implement GoToDocumentOutline in C#
ycm-core/ycmd#1716 Display tsserver tags in detailed info and GetDoc

`workspace/didChangeWorkspaceFolders` seems to be working fine for java,
rust and go, but should be considered experimental. Definitely more
field experience is needed.
What it should do is allow LSP servers to understand multiple projects
in the same vim instance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ship It! Manual override to merge a PR by maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants