Code Monkey home page Code Monkey logo

Comments (19)

nosami avatar nosami commented on May 16, 2024

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.

nosami avatar nosami commented on May 16, 2024

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.

gwilliams avatar gwilliams commented on May 16, 2024

Just for info, I'm using the latest master with mono on OSX without any issues.

from omnisharp-vim.

vito-c avatar vito-c commented on May 16, 2024

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.

nosami avatar nosami commented on May 16, 2024

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.

vito-c avatar vito-c commented on May 16, 2024

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.

vito-c avatar vito-c commented on May 16, 2024

Here is a really bare bones example: https://github.com/vito-c/ExampleUnity

from omnisharp-vim.

nosami avatar nosami commented on May 16, 2024

@vito-c Thanks for that. I'll take a look.

from omnisharp-vim.

nosami avatar nosami commented on May 16, 2024

@vito-c I just commited a fix for this.

from omnisharp-vim.

vito-c avatar vito-c commented on May 16, 2024

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.

nosami avatar nosami commented on May 16, 2024

@vito-c I just added that GUID as a new csharp project type. Should work now.

from omnisharp-vim.

vito-c avatar vito-c commented on May 16, 2024

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.

nosami avatar nosami commented on May 16, 2024

👍

from omnisharp-vim.

thinca avatar thinca commented on May 16, 2024

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.

nosami avatar nosami commented on May 16, 2024

Could you verify that? Could you send a pull request, or failing that, your sln file?

from omnisharp-vim.

thinca avatar thinca commented on May 16, 2024

md5("ExampleProject") == "cfbf81bea5a883230e2fc9b25881c624"
Although I tried some samples, it was altogether matched.

from omnisharp-vim.

thinca avatar thinca commented on May 16, 2024

pull request

Should all project type ids be accepted?

from omnisharp-vim.

nosami avatar nosami commented on May 16, 2024

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.

thinca avatar thinca commented on May 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.