OmniSharp / omnisharp-emacs

Troll coworkers - use Emacs at work for csharp!
GNU General Public License v3.0
512 stars 94 forks source link

C# documentation not showing up with Omnisharp #502

Open cstms opened 4 years ago

cstms commented 4 years ago

I've been trying to get Omnisharp to show me documentation (for basic things, just as System.) via eldoc and similar tools, but it doesn't seem to be working, and I can't tell if it's my fault or not. The autocompletion part works fine: it lists everything properly as a backend to company-mode, but that's all it does. Not even pressing F1 shows me the documentation: the company-documentation buffer loads empty every time I do that. everything I found

If this isn't a bug, I can't tell what I'm doing wrong. I can't get much from the log:


[03:42:38] starting server on project root "/home/manuel/dev/"
[03:42:38] Using server binary on /home/manuel/.emacs.d/.cache/omnisharp/server/v1.34.5/run
[03:42:38] INFORMATION: OmniSharp.Stdio.Host, Starting OmniSharp on arch 0.0 (x64)
[03:42:38] INFORMATION: OmniSharp.Services.DotNetCliService, DotNetPath set to dotnet
[03:42:38] INFORMATION: OmniSharp.MSBuild.Discovery.MSBuildLocator, Located 1 MSBuild instance(s)
            1: StandAlone 16.0 - "/home/manuel/.emacs.d/.cache/omnisharp/server/v1.34.5/omnisharp/.msbuild/Current/Bin"
[03:42:38] INFORMATION: OmniSharp.MSBuild.Discovery.MSBuildLocator, MSBUILD_EXE_PATH environment variable set to '/home/manuel/.emacs.d/.cache/omnisharp/server/v1.34.5/omnisharp/.msbuild/Current/Bin/MSBuild.dll'
[03:42:38] INFORMATION: OmniSharp.MSBuild.Discovery.MSBuildLocator, Registered MSBuild instance: StandAlone 16.0 - "/home/manuel/.emacs.d/.cache/omnisharp/server/v1.34.5/omnisharp/.msbuild/Current/Bin"
            MSBuildExtensionsPath = /usr/lib/mono/xbuild
            BypassFrameworkInstallChecks = true
            CscToolPath = /home/manuel/.emacs.d/.cache/omnisharp/server/v1.34.5/omnisharp/.msbuild/Current/Bin/Roslyn
            CscToolExe = csc.exe
            MSBuildToolsPath = /home/manuel/.emacs.d/.cache/omnisharp/server/v1.34.5/omnisharp/.msbuild/Current/Bin
            TargetFrameworkRootPath = /usr/lib/mono/xbuild-frameworks
[03:42:39] INFORMATION: OmniSharp.Cake.CakeProjectSystem, Detecting Cake files in '/home/manuel/dev'.
[03:42:39] INFORMATION: OmniSharp.Cake.CakeProjectSystem, Could not find any Cake files
[03:42:39] INFORMATION: OmniSharp.MSBuild.ProjectSystem, No solution files found in '/home/manuel/dev'
[03:42:39] INFORMATION: OmniSharp.Script.ScriptProjectSystem, Detecting CSX files in '/home/manuel/dev'.
[03:42:39] INFORMATION: OmniSharp.Script.ScriptProjectSystem, Could not find any CSX files
[03:42:39] INFORMATION: OmniSharp.WorkspaceInitializer, Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[03:42:39] INFORMATION: OmniSharp.WorkspaceInitializer, Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
[03:42:39] INFORMATION: OmniSharp.WorkspaceInitializer, Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.EditorConfigWorkspaceOptionsProvider, Order: 200
[03:42:39] INFORMATION: OmniSharp.WorkspaceInitializer, Configuration finished.
[03:42:39] INFORMATION: OmniSharp.Stdio.Host, Omnisharp server running using Stdio at location '/home/manuel/dev' on host -1.
[03:42:44] INFORMATION: OmniSharp.OmniSharpWorkspace, Miscellaneous file: /home/manuel/dev/cvt/project.cs added to workspace```