-
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
support for unimported types #720
Comments
I don't know about Visual Studio, but VScode (which uses the same language server as OmniSharp-roslyn) has moved to a new completion engine, which does this. I'd like us to move to the new engine too but it's not trivial, unfortunately. So, it's a matter of someone finding time to do the work. It's a great feature though, it'll be cool to get it working here. |
Thank you for explanation.
Hope it will be implemented at some point in future. |
If you're using dotnet core, you can debug with breakpoints using vimspector, which I've only used a couple of times so far (most of my work projects are .Net Framework) but it works really well. |
Thanks. Did not know about this plugin. |
You're welcome. I think we might as well leave this issue open, getting un-imported types supported is a valid thing to track. |
Hi @nickspoons, is unimported type support still on the roadmap? thanks |
@vinn2010 It is already supported to a certain extent, if you enable it in OmniSharp-roslyn with the {
"RoslynExtensionsOptions": {
"AnalyzeOpenDocumentsOnly": false,
"EnableAnalyzersSupport": true,
"EnableDecompilationSupport": true,
"EnableImportCompletion": true
}
} This makes unimported types appear in completions, e.g. The ideal functionality here would be to insert the |
Very useful. I wasn't aware of " Add usings on save
autocmd BufWritePost *.cs OmniSharpFixUsings |
In Visual Studio you get suggestions for all types, even if they are not imported. How to do it in omnisharp-vim?
The text was updated successfully, but these errors were encountered: