ycm-core / ycmd

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

[WIP] Use latest Omnisharp-rosyln for .NET 6 support #1659

Open mispencer opened 2 years ago

mispencer commented 2 years ago

The version of Omnisharp-rosyln doesn't support .NET 6. To provide this support, we upgrade to the latest Omnisharp-roslyn, and use the .NET 6 build of it.

Issues not necessarily resolvable:

Current issues to be resolved:


This change is Reviewable

puremourning commented 1 year ago

Thanks! Sorry for the delay - I've been on vacation and had covid.

Worth me looking at it now, or wait for the issues to be resolved?

RA-Kooi commented 1 year ago

This doesn't appear to be compatible with .NET framework in non-Windows OSs

I can confirm the .NET 6.0 (non-mono) version works for me on Arch Linux and Gentoo Linux.

This is a beta release of Omnisharp-roslyn

This is a while ago, I think we can assume it's in stable now?

mispencer commented 1 year ago

That is correct. There is a stable release now.

bstaletic commented 1 year ago

@mispencer I have rebased this branch locally and pushed to my fork. However, I can't figure out what omnisharp is doing, as diagnostics and completion all seem pretty off from what ycmd expects in its tests.

Here's a link https://github.com/bstaletic/ycmd/tree/OmnisharpLatest