4 ms·
You can turn on an Intelisense option to show methods that would be in scope, if you had the using statement, and it will auto add the using statement if you se
by nickspag 9y ago
You can turn on an Intelisense option to show methods that would be in scope, if you had the using statement, and it will auto add the using statement if you select that. Really helpful.
- wvenable 9y agoIs this a Resharper thing?
- jongalloway2 9y agoYes, it looks like that's "Import Symbol Completion" - https://www.jetbrains.com/resharper/features/code_completion.html https://www.jetbrains.com/resharper/features/code_completion...
- nickspag 9y agoNo, but after looking at VS 2017 on my pc and VS for Mac, apparently it's only a feature in VS for Mac- at least from what I could find. I imagine that gets changed soon but yea. If you use VS for Mac its under Preferences > Text Editor > Intellisense > Show Import Items
- int_19h 9y agoIn VS 2017, if you use a method that's an extension method, and don't have the namespace imported, it'll show the auto-correction bulb with an offer to import it. Better yet, if it's from a NuGet package, it'll offer to install one (or several, if there are multiple candidates).