Is there way to use the Extract Interface refactor option when in VB.NET?
I've noticed that Refactor does not show in the right-click context menu when in VB.NET.
Since VS 2005 Microsoft has had a deal with DevExpress to offer free refactoring tools for Visual Basic. For VS 2005/2008 look for Refactor!, for newer versions try CodeRush Express.
In VB.net 2015, use Edit > Refactor > Extract Interface. This functionality has been added.
Related
I program in vb.net, I'm switching from visual studio big edition to vs code to be more portable.
One feature I really miss is intellisense ? Can I make it work with vb.net ?
While searching I ended up on this page
https://code.visualstudio.com/docs/editor/intellisense
They say 8 languages are supported out of the box, but doesn't include vb.net or C# and that you should check on the marketplace for more
I checked on the marketplace and I can't seem to find it ?
Is there really no intellisense for vb.net ? In microsoft's own IDE ?
thanks
As of 2018-08-28, there is no intellisense feature for vb.net in visual studio code nor is there an extension for it
It's not much but there is a basic IntelliSense coverage of VB.NET syntax through this extension.
I need to make a windows app. Should I use VB or VB.net? What is the real difference actually? I downloaded visual studio for vb and right now I have "microsoft visual basic 2010 express". I'm assuming if I want to use VB.net it'll say "microsoft visual basic.net 2010 express". Where do I get that from though?
COM-based VB (i.e., "VB6") is obsolete and no longer sold.
VBA is only part of another app or product (such as Excel, Word, etc.) that hosts it and is not appropiate for a stand-alone app.
VB.Net is current, available for purchase (as part of Visual Studio), and supported.
So use VB.Net.
Visual Basic 2010 Express is the IDE to write VB.NET code. You already have the correct program.
As you're starting now - why not use the newest Visual Studio Express 2012?
We have a large chunk of legacy code in VB that I want to unit test, so step one if building interfaces. In C#, visual studio has the cool little Refactor -> Extract Interface function. VB Doesn't, though?
Is there a good way to do this in VB?
Extract Interface function. VB Doesn't, though?
Yes. Unfortunately, Microsoft Visual Studio does not support refactor functionality for VB.NET.
You can install third party tools such as ReSharper, though.
For more information, also have a look at this question on SO: Refactoring options in Visual Studio 2010 differ between C# and VB
Is it possible to get the same level of syntax highlighting in Visual Studio 2008, that SQL Server Management Studio has? This is regarding T-SQL.
For example SSMS has separate highlighting options for operands, system functions etc, while Visual Studio 2008 only seems to have one 'keyword' for T-SQL.
Not sure if this is what you're looking for but someone did come up with an app that will take your VS color settings and convert them over to ones that will work in SQL Server Management Studio. You can find the post about it here.
See this: related question
To get a better level of control you will have to write an addin and a parser, both of which are very tricky.
VS 2010 will have MEF and WPF which means that writing addins which change the visuals will be significantly simpler.
If you are looking for a simpler framework to write this kind of stuff in VS 2008 have a look at DXCore.
I use SQL 2008 and VS 2008 DB Pro edition. And what I often do is writing SQL in SSMS and copy & paste to VS.
Is there any way to use the VS2008 built-in Refactoring functionality on VB.NET projects?
I believe native refactoring is for C# only. However there is Refactor! which is free.
http://msdn.microsoft.com/en-us/vbasic/bb693327.aspx
If you register you get some more free refactoring.