-
Notifications
You must be signed in to change notification settings - Fork 168
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
False positive errors after linting #450
Comments
Yeah I've seen this. I am fairly sure it's a known OmniSharp-roslyn bug, where files that get read before the server is fully loaded are registered twice. I haven't experienced it for a while though, I believe it has been fixed, do you have the latest server?
The way I've otherwise "worked around" this is to try not to do any operations that trigger the server until the server is loaded. Because you have highlighting triggered on |
mh, so timing does change things but i don't know if it is for the better or ther worst.. typing gibberish
when i check the version i get fileversion 1.32.0.0 or productversion 1.32.8 which looks like the latest stable release. |
The OmniSharp.exe I am currently using has Product version 1.32.10, so you could try upgrading and see if it helps? If you run into any problems you can always downgrade again with |
looked up change notes for
that is probably the reason you got pretty different results ;-) will try that tomorrow and report results
as that is the most current pre-release |
thats works perfectly fine. completion is faster as well. thanks for helping out on this. Btw. are you using Roslynator or something like that? |
Glad to hear it! No I'm not using Roslynator, I'll be interested to hear if you have success with it? |
so, you can follow https://github.com/JosefPihrt/Roslynator/blob/master/docs/RoslynatorForVisualStudioCode.md to get roslynator somewhat to be read from omnisharp-roslyn but i did not see any changes. It is probably the best if i create i feature request for this, as this is really off Topic now :-) And my issue was resolved. Thanks for the help :-) |
Platform:
Windows 10
VIM - Vi IMproved 8.1
MS-Windows 64 Bit GUI Version
Reproduce:
Create simple console (with VS for example)
Open Program.cs
Insert gibberish
Wait linting
-> 'Program' is now flagged as already defined.
-> 'Main' is now flagged as already defined
vimrc
sorry for the german error Messages, if somebody knows how to Change it. Let me know :-)
Sometimes I can solve it, by stopping and starting the OmniSharp-Roslyn.
Any ideas?
The text was updated successfully, but these errors were encountered: