Comments (19)
I don't think this is a mono specific problem. I'm using mono as we speak. Do you have the latest OmniSharp? This looks like an issue that @gwilliams fixed a couple of days ago.
from omnisharp-vim.
The unable to connect to server message is pretty pointless right now. It displays that whenever there is any exception on the client. It's on my (huge) list of stuff to sort out.
from omnisharp-vim.
Just for info, I'm using the latest master with mono on OSX without any issues.
from omnisharp-vim.
yup i'm using the latest on master... does it matter what my current working directory is when I launch vim? My sln was generated by unity3d could this be the issue? Should I try using the OmniSharp.sln? would that be a good test to validate my system is setup correctly?
from omnisharp-vim.
Working directory shouldn't make any difference.
I think that it would be a good smoke test to use the OmniSharp sln. It's what I always use ;) I've tried OmniSharp on quite a few solutions now though without any issues. It's probably far from bullet proof though.
If your code isn't sensitive, I could take a look at it if you like.
from omnisharp-vim.
I think the issue is related to a Unity3d sln The OmniSharp.sln worked fine and I got some nice completion :) Let me whip together a sample project for you.
from omnisharp-vim.
Here is a really bare bones example: https://github.com/vito-c/ExampleUnity
from omnisharp-vim.
@vito-c Thanks for that. I'll take a look.
from omnisharp-vim.
@vito-c I just commited a fix for this.
from omnisharp-vim.
awesome thanks so much! The Example Project works but I am still seeing errors in my main project :(
Project /Users/vito-c/workrepos/mobile/MobileProject/Assembly-CSharp-firstpass.csproj has unsupported type {4C2D6F16-28F7-6964-F259-E4608E3E113F}
Project /Users/vito-c/workrepos/mobile/MobileProject/Assembly-CSharp.csproj has unsupported type {4C2D6F16-28F7-6964-F259-E4608E3E113F}
Project /Users/vito-c/workrepos/mobile/MobileProject/Assembly-CSharp-Editor.csproj has unsupported type {4C2D6F16-28F7-6964-F259-E4608E3E113F}
from omnisharp-vim.
@vito-c I just added that GUID as a new csharp project type. Should work now.
from omnisharp-vim.
I added {4C2D6F16-28F7-6964-F259-E4608E3E113F} to the case statement and the server started up and looks like it's working! now to try the YCM completer.. thanks so much for writing this project!
from omnisharp-vim.
👍
from omnisharp-vim.
hi.
My project is also using Unity3D.
The GUID of my project is another value. It's seems the MD5 of project name.
from omnisharp-vim.
Could you verify that? Could you send a pull request, or failing that, your sln file?
from omnisharp-vim.
md5("ExampleProject") == "cfbf81bea5a883230e2fc9b25881c624"
Although I tried some samples, it was altogether matched.
from omnisharp-vim.
pull request
Should all project type ids be accepted?
from omnisharp-vim.
I'm not so sure.... I don't know what would happen if a VB.Net project was part of the solution for example and it could result in unnecessary parsing. I think we should just check to see if md5("projectname") == "projectguid" unless there is a better way to identify it as a C# project.
from omnisharp-vim.
I think we should just check to see if md5("projectname") == "projectguid" unless there is a better way to identify it as a C# project.
LGTM
from omnisharp-vim.
Related Issues (20)
- Failed to load Project with no error message HOT 18
- Can't use out-of-box because of MSBuild HOT 6
- Omnisharp server doesnt start HOT 5
- Building the project HOT 2
- How do I stop OmniSharp from creating '~/.omnisharp' directory? HOT 3
- There is a bug when I use vim-omnisharp in termux with mono HOT 7
- Need Help - Mac OS M2 - No Popups HOT 1
- ddc-ultisnips error HOT 1
- [Bug] Poor Performance in Some Unity Projects HOT 3
- Poor syntax highlighting and server load time after a minimal NVIM setup HOT 19
- Limited OmniSharp Commands (failing to properly call/start rosylin server?) HOT 64
- Not an editor command: OmniSharp* HOT 2
- OmniSharpDebugTest throws error relative to number of parameters the first time it is run HOT 1
- omnisharp can't run tests HOT 3
- Unable to get custom types using omnisharp-vim HOT 5
- Silently failing HOT 3
- When several solutions for a given cs file, solution selection prompts block the UI by being spammed
- No hover or go to definition on larger solution HOT 2
- Omnisharp doesn't autocomplete with .razor files for blazorwasm app HOT 8
- How to use Omnisharp with Dotnet SDK 8? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omnisharp-vim.