-
Notifications
You must be signed in to change notification settings - Fork 169
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
Omnisharp not detecting already started server #177
Comments
The Monodoc error is safe to ignore. Yeah, good progress is being made with omnisharp-rolsyn OmniSharp/omnisharp-roslyn#29. It's currently not compatible though because omnisharp-vim sends requests using form url-encoded, whereas omnisharp-roslyn currently only accepts json requests in the form body OmniSharp/omnisharp-roslyn#27 . Apart from that minor detail, it should work. I've since defected to the emacs camp though, so I don't have a great deal of motivation to look at this. Fancy taking a look at it? |
Since I'm still quite a novice, it's probably gonna remain at a look :D. But maybe I can just get the normal server somehow working for me. |
You can definitely get the original server working this way. Looks like you already have. Don't expect to get completions for aspnet5 stuff though. It won't work. |
Mhh, tried it another time, but still can't get it working. When I have a solution file, everything works fine, but when I start the server manually, it still tries to start the server on startup of vim, but fails due to missing solution file. |
OmniSharp doesn't reference csc.exe anywhere. What other plugins do you have installed? |
I know this is old and you probably figured it out already but if you have vim-csharp plugin installed that will reference csc.exe for its C# compiler. |
@markwoodhall Thanks for that tip. There is an open issue in the vim-csharp plugin repo. |
I try to use OmniSharp for asp.net vnext stuff, so I do not have a solution file. I start the server separately using
mono OmniSharp.exe -p 2000 -s "~/path/to/my/project"
Unfortunately when I enter vim, I get an error that the server couldn't be started due to missing solution file. It looks like it doesn't detect my already started server. When starting the server, I get this error message:
But then the server still prints
OmniSharp server is listening
Does anyone have an idea on how to fix this? Btw., I saw that there is OmnisharpRoslyn on its way, is that already usable?
The text was updated successfully, but these errors were encountered: