This cannot be changed with a standard installation of Visual Studio, so you will need to install an extension to add this feature. One widely used extension that provides this feature is JetBrain ReSharper . Here is a quote from their documentation.
Import Symbol Completion (earlier completion of type input) is invoked using Ctrl + Alt + Space. Unlike Symbol Completion (which only completes the types available at the current location), ReSharper displays all types that match the specified prefix, regardless of which namespace they belong to, and automatically adds the appropriate namespace import directives when necessary. In C # code files, Import Symbol Completion works after a period using extension methods and sets the necessary ones using directives.

Sam harwell
source share