简体   繁体   中英

How to fix the Imports Statement on Visual Studio 2008 for VB.NET

I am familiar with c# way of fixing the import via Ctrl - but how do you do this for visual basic project?

Also does visual basic does not seem to have the [Organize Using] feature for c#. If there is one can you please help.

No, the refactoring features available for C# do not exist in the VB.NET IDE.

They're not simply hidden somewhere or named something different. While the C# team was adding this stuff in, the VB.NET team was working on things like automatic background compilation. I expect they'll be added in a future version, but don't hold your breath.

You will have to install a third-party extension like Resharper if you require them.

But the Ctrl + . keyboard shortcut still works fine. I'm nearly positive that Intellisense will still suggest importing namespaces when required, just like the C# IDE.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM