-
Notifications
You must be signed in to change notification settings - Fork 677
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
Autocomplete outputs error to the OmniSharp log #980
Comments
Hi! Could you clarify the repro steps a bit? How did you create the empty C# project? Did you use |
@DustinCampbell I've created project via custom {
"version": "1.0.0-*",
"dependencies": {
"Microsoft.AspNetCore.Mvc.Core": "1.1.0"
},
"frameworks": {
"net46": { },
"netstandard1.6": { }
}
} I've investigated. This exception occurs when autocompletion tries to find completion for variable name. For example, I'm entering: |
Thanks for the detailed repro. I'll take a look. |
OK. I have a PR out to omnisharp-roslyn to fix this issue. FWIW, the behavior should be mostly benign. The completion is the same whether the exception is thrown or not. |
I see that completion works but any exception in the log warns. Thanks. |
I've created a v1.6-beta2 release of the C# extension that contains this fix, among others. See this page for information on installing beta releases |
Environment data
dotnet --info
output:VS Code version: 1.7.1
C# Extension version: 1.5.3
Steps to reproduce
Expected behavior
There should be no errors in output.
Actual behavior
Omnisharp log shows error for each autocomplete:
The text was updated successfully, but these errors were encountered: