OmniSharp / omnisharp-vim

Vim omnicompletion (intellisense) and more for C#
http://www.omnisharp.net
MIT License
1.72k stars 168 forks source link

Empty documentation #639

Closed godskiy closed 4 years ago

godskiy commented 4 years ago

As title says I can't get any(for Console.WriteLine() as an example) docs with command :OmniSharpDocumentation. Tried kinda everything from other issueses.

Example:

Screenshot from 2020-09-28 13-22-14

As far as I understand, I have some problems in my configuration, but I can't figure out what is wrong.

My sdks e.t.c:

Screenshot from 2020-09-28 13-09-51

Some troubles with finding sdks(literally couldn't fix, tried everything including omnisharp.json)

Screenshot from 2020-09-28 13-12-12

Somehow the only project in my solution was failed to load.

Screenshot from 2020-09-28 13-08-01

The only things I did to build up my project:

  1. dotnet new console
  2. dotnet new sln
  3. dotnet sln add project
  4. dotnet build sln

Any ideas?

nickspoons commented 4 years ago

It's a bit hard to guess what you have and haven't tried already. Do you have mono installed? What version? What OS is this?

godskiy commented 4 years ago

It's a bit hard to guess what you have and haven't tried already. Do you have mono installed? What version? What OS is this?

Its ubuntu 20.04. No mono. I figured out that I have like 2-3 instances of dotnet driver in different locations. I'll try to clear duplicates

godskiy commented 4 years ago

Ok guys, I got it. The problem was that right before my tryouts with omnisharp-vim I've changed my terminal from bash to fish. Fish doesn't have MSBuildSDKsPath environment variable(and other stuff) by default and doesn't import it from anywhere. That's it.

nickspoons commented 4 years ago

Glad to hear you got it working!