natanfudge / Auto-Using

Visual Studio Code extension that auto imports and provides auto complete for available imports in C#
https://marketplace.visualstudio.com/items?itemName=Fudge.auto-using
GNU Lesser General Public License v3.0
37 stars 7 forks source link

Not working for anything beyond System namespace #24

Open daniel-scatigno opened 4 years ago

daniel-scatigno commented 4 years ago

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?

natanfudge commented 4 years ago

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).

BrandonBoone commented 3 years ago

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

Setting is: omnisharp.enableImportCompletion