Auto-Using icon indicating copy to clipboard operation
Auto-Using copied to clipboard

Not working for anything beyond System namespace

Open daniel-scatigno opened this issue 5 years ago • 2 comments

This is not working for anything else System namespace I'm working with asp.net core 3.1 It doesn't not import anything from Microsoft.AspNet namespace I'm using latest C# Omnisharp 1.21.15 on Linux

Can I provide more info? How?

daniel-scatigno avatar Mar 23 '20 23:03 daniel-scatigno

This is a known limitation. I originally developed branch 0.7 that solves this issue by introducing a C# language server. However, this conflicted with my intention of the extension being lightweight. At that time this feature was introduced into Visual Studio and I have expected for it to be implemented for vscode (https://github.com/OmniSharp/omnisharp-roslyn/issues/1482), so overall I lacked motivation. I also do not use C# anymore and if I would I would use Jetbrains Rider and not VSCode.

The bottom line: I do not plan on expanding this extension further. However, seeing that this feature is not being implemented by the Omnisharp team, I would aid anyone in expanding the available namespaces, via branch 0.7 which had NuGet namespaces implemented already, or starting from the current, live branch (master).

natanfudge avatar Apr 03 '20 14:04 natanfudge

FYI: this is now available in OmniSharp: https://github.com/OmniSharp/omnisharp-roslyn/pull/1896

Setting is: omnisharp.enableImportCompletion

BrandonBoone avatar Nov 11 '20 14:11 BrandonBoone