-
Notifications
You must be signed in to change notification settings - Fork 90
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
Issue with auto complete #306
Comments
I'm seeing the same issue after installing omnisharp from brew using the suggested Messages output:
OSX: 10.12.3 I can look into it a bit more later and hopefully add some more information. |
@triplem161 – sorry for writing to you this late, but have you tried using the omnisharp-mono version? the netcoreapp version is not good at handling .csproj & .sln based projects and IIRC omnisharp server is about to deprecate it |
@mpavlinsky – do you use http transport for the omnisharp roslyn server? otherwise you don't need to set hmm, on the other hand does anything other than completion work? say what if you do |
@razzmatazz no problem. Some how it kind of works on my work station(mac OS) but not on my personnal mac. I'll try to figure it out. But it only work partially (on my work station), i get the imenu items as well as the autocomplete for And when I try So I don't know if its a roslyn server issue, a company issue or an issue from the last update Nevertheless on my windows when I'm trying to use the mono version, emacs instantly crash. (Knowing that i build from the dev branch of the omnisharp roslyn repo) Thanks for the hard work :) |
Quick update: Fixed my personnal mac, now i get flymake check and some autocomplete correct. But still have issues with the autocomplete when trying to invoke instances method and variable type. (Concerning windows, i'm in the middle of moving in a new place so i can't test yet) Thanks |
we found out the cause for windows crashes, see #315 -- basically you should use 32bit (x86) binaries of omnisharp on windows for now, until emacs bug is fixes (which I have reported) there is now M-x @triplem161 there was also one PR made on autocomplete that was merged, maybe it could be related to your problem? see #320 |
Hey, thanks a lot @razzmatazz For some reason, it doesn't work with company on my side, as when I type a second letter, the company popus disappear ? I guess I'm doing something silly, any hint ? But when I try the All of this on Windows (haven't try on mac yet) Thanks for the hard work |
@triplem161 autocomplete is case-sensitive, maybe that is the cause for disappearance of the popup? i think we should make it case-insensitive, imho.. |
@razzmatazz by case-sensitive you mean using a capital letter during completion. It seems that it's just not working with company-mode, probably a bad setting on my side. I'll investigate, and that will give me the opportunity to learn elisp :). |
@triplem161 could you try the new |
@triplem161 also do you have (company-mode) enabled on the buffer? (via mode hook or manually) if you don't have
I think we need a better configuration example in https://github.com/OmniSharp/omnisharp-emacs#installation-on-regular-emacs... |
Hey @razzmatazz, I tried the install server on windows, its working properly. So can i invoke this command to update to a new build when available ? Concerning the autocomplete i still have the same issue. I have set my hook properly, and company mode is correctly loaded when i open a cs file. But still the same issue.
I rolled back to the legacy version to try and it seems to work normally. Edit : i check the value of
|
@triplem161 sorry for replying this late..
|
I have also fixed the autocomplete case-sensitivity problem in #351, maybe that helps you? |
@razzmatazz No problem, I still have the issue. But I somehow start to see a weird pattern. The autocompletion works out of the class scope somehow. When I'm typing the keyword " The thing that worries me is that I feel I'm the only one having this issue, which make me think it's from my config (on which I spent days trying to fix) I can set up a quick test case project for you, but it would require Unity on your side. |
Could you try visual studio code and/or atom editor and install
omnisharp/Csharp extension and then check if it works properly there?
Both emacs and VS Code and Atom Plugins uses the same server so we could
isolate if this is omnisharp-emacs problem or omnisharp-Roslyn (server)
triplem161 <notifications@github.com> schrieb am Di. 15. Aug. 2017 um 03:33:
… @razzmatazz <https://github.com/razzmatazz> No problem,
I still have the issue. But I somehow start to see a weird pattern. The
autocompletion works out of the class scope somehow.
When I'm typing the keyword "pu" *out* of class scope, I got the
autocompletion correctly for public.
But when type *in* class scope the completion doesn't work.
The thing that worries me is that I feel I'm the only one having this
issue, which make me think it's from my config (on which I spent days
trying to fix)
I can set up a quick test case project for you, but it would require Unity
on your side.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#306 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAiZZOjDCZqLEyX-T_aSphwcYMyJcPNsks5sYXPcgaJpZM4NYdBz>
.
|
I just tried visual code and it seems to work properly there. (in and out of class scope). Now, that i'm thinking I was more thinking that the issue may come from I'm sorry I can't give you more hint as my elisp knowledge is inexistant. But I kind of skimmed thru the code, and i'm not sure when is company mode is called. But I believe if other user had issues they would have reported it as well (I don't think i'm the only one), so I'm more concern about a bad config on my side. |
Hey, coming back to you, been busy the past few months. I spend the last hour, trying to fix my issue. I removed everything, had a clean emacs and install only Now when i roll back to my full config, the issue reappeared, I'm now deleting one by one each package to find the culprit. But without much success yet. Do you have any knowledge of package that could clash between each other ? For instance I have But i'm getting there (hopefully by the end of the day :D ) |
I found the issue. I'm not sure if it's from Here is the code that is faulty in my config :
I'll investigate on my side Edit : it seems to be a company issue, I'm closing this issue then Thanks for you time, sadly spent on a config issue on my side... |
Could you send me your config since I'm having the same problem right now and I don't have a lot of experience with emacs |
Hi,
I've been using omnisharp emacs for the past 2 year for Unity dev mainly.
After the update of both the emacs package and the omnisharp server I got an issue with the autocomplete with company. It seems nothing is returned from the server.
This happens on both my windows and my mac. I'm using the netcoreapp1.1. This are the messages I get when I start the server
As well as setting company for omnisharp
(add-to-list 'company-backends 'company-omnisharp)
Am i doing something wrong ?
Thanks
The text was updated successfully, but these errors were encountered: