omnisharp-vim icon indicating copy to clipboard operation
omnisharp-vim copied to clipboard

support for unimported types

Open ton190 opened this issue 4 years ago • 8 comments

In Visual Studio you get suggestions for all types, even if they are not imported. How to do it in omnisharp-vim?

ton190 avatar Jul 16 '21 21:07 ton190

I don't know about Visual Studio, but VScode (which uses the same language server as OmniSharp-roslyn) has moved to a new completion engine, which does this. I'd like us to move to the new engine too but it's not trivial, unfortunately.

So, it's a matter of someone finding time to do the work. It's a great feature though, it'll be cool to get it working here.

nickspoons avatar Jul 16 '21 21:07 nickspoons

Thank you for explanation. Only 4 thinks are missing in vim for c#

  1. Unimported types support
  2. Razor Pages support
  3. Break Points
  4. .resx files support

Hope it will be implemented at some point in future.

ton190 avatar Jul 16 '21 23:07 ton190

If you're using dotnet core, you can debug with breakpoints using vimspector, which I've only used a couple of times so far (most of my work projects are .Net Framework) but it works really well.

nickspoons avatar Jul 17 '21 00:07 nickspoons

Thanks. Did not know about this plugin.

ton190 avatar Jul 17 '21 00:07 ton190

You're welcome. I think we might as well leave this issue open, getting un-imported types supported is a valid thing to track.

nickspoons avatar Jul 17 '21 00:07 nickspoons