Favourite Features of VS 2010 - visual-studio

With the general public release of Visual Studio 2010 Beta 2 today, this latest version has created a lot of hype and interest.
Indeed, the opinion I've gauged is that VS 2010 has resolved a great deal of the minor flaws left over from previous versions, as well as added some particularly useful new code editor and project development tools (in particular the Premium/Ultimate versions).
My question here is: what are you favourite new features in VS 2010 that have really got you excited? Or similarly, what are the flaws of VS 2008 that you are most glad to have resolved?
There is a wealth of changes in VS 2010, of course, but these are some of the ones that have interested me most (about which I know!).
Integrated support for F# (with multi-targeting for .NET 2.0 - 4.0)/
Much improved WPF designer. The VS 2008 was more than a bit buggy at times.
Great improvements to the code editor, such as call hierarchy viewing.
A decent add-in framework.
A greatly expanded testing framework (now capable of database testing, for example) in Premium/Ultimate.
Project planning and modelling features in Premium/Ultimate.
If I could request one point/feature per post, I think that would be best, so we could vote them individually.

Visual Studio 2010's true Multi-Monitor Support sounds pretty fantastic.

The feature I'm most looking forward to having a decent play with is actually more .net 4 than visual studio. Parallel Extensions looks like it will be very interesting.

The new, clean web.config should make my managers happy.
"Just change the option in the web.config"
"Where is it?"
"Under 'AppSettings.'"
"Ugh ... there's so much junk in that file."

The built in profiler and historical debugger!

The 'Navigate To' window (Ctrl+,) is fantastic. Eclipse has something similar, and I've always thought Visual Studio needed it. Now if they would just add a 'Collapse All' button to the Solution Explorer...

One-click web publishing will be handy.

Favorite feature? Requiring 4 gigs of RAM to run it's bloat.

I liked many features
Deployment
Gated checkin
Parallel Programming
Faster debugging
Separate debugger for x86 and x64
These are just few.... The more you explore VS2010 the more you will get. Try to go through the videos by microsoft.
Thanks,
Sunil Agarwal

Related

Limitations of sharpDevelop

I am looking in to using sharpDevelop to develop Windows (.NET) applications over using Visual Studio. I'm just wondering if there are any serious limitations to using SharpDevelop over VS? The price is certainly right and at first glance it seems like a pretty decent IDE. I'm just wondering if it is compatible with VS. I mean if I am collaborating with other developers that are using VS, can we seamlessly pass projects/solutions back and forth and work on them? Just wondering what people's opinions are.
Past year I start using SharpDevelop to develop a large application.
Based on my experience, I can say these are some advantages in using it:
It's faster than Visual Studio; if your project is pretty large, you have to spend less time waiting for the project to compile
It's free
One important disadvantage I've found is the lack of a good refactoring system, in Visual Studio I used Jetbrains Resharper for its great refactoring support.
Now I've returned to use Visual Studio, just for the facilities offered by Resharper.
SharpDevelop 4.0 Beta 4 (as the most current version) is pretty stable as for a Beta. Besides being free it has some pretty features which can be extended via AddIn (a sort of plugin system). A large number of project templates for the most popular languages supporting the .NET Framework. A possible limitation is the support for ASP.NET which still lags behind VS.
Surely you can bet that the top versions of Visual Studio may have some better tools, options, better integration and so on.
Please consider comparing SharpDevelop to the Express Editions of VS. Then it will be obvious that SD is a big win if you don't have to pay. Consider it also as a different product, not only a copy of VS (just not to say 'option X is called here Y, opposed to VS').
This feature by feature comparison list for SharpDevelop vs. VS Express might be helpful.
I'm working on a project that was started using Visual Studio 2010. Although according to a special engine we've created the number of code lines is not very high, the project builds very slowly. I tested sharpdevelop, and it was about an order of magnitude faster!! The only problem we faced was that we could not debug our server and client together, something that VS does like a charm (well, that charm requires some patience), and shows the stack trace of the server, on top of the client, which is very useful.
My suggestion: use sharpdevelop unless you absolutely need a feature it lacks.
SharpDevelop 4.0 Beta does not support the default Visual Studio installer projects. However, since these are going to be deprecated after VS2010 by Microsoft, this is probably not a main issue for you.

Any reason NOT to upgrade to VS2010? (Besides the cash of course!)

For those with experience of VS2008 and VS2010. Are there any areas in which you prefered 2008? Any annoyances with the upgrade?
Any reasons not to upgrade?
I'm coming at this from a Web Dev point of view.
Thanks
I think it depend principally of how you use VS.
If your goal is to continue to use Windows Form without Linq (some people stay with VB6...), VS 2010 don't seems to be a good investment...
But if you use, or plan to use WPF and co., VS 2010 seems to be a good investment for me !
So, i think it's interesting to ask yourself : "Any reason NOT to upgrade to WPF and Linq ?"
About your the fear of change like Office 2003 -> Office 2007
Yes, me too, i feel "dropped to my grandma's level"...
But i feel like that too with the change Windows Form -> WPF.
It's good for me : it's not with the improvement of the candle the the bulb was invented !
Office 2007 is for me a great improvement for the user interface...
But it's just my point of vue.
The main reason to upgrade to Visual Studio 2010 is the .NET Framework's new version 4.0, and all the accompanying tools you can use.
If you don't need this new version now, you can delay the upgrade: that's a reason.
But sooner or later, because we all know that we can't stay behind, we'll have to step forward... This is why all of us are using Visual Studio 2008 instead of Visual Studio 6.0 and build software for Windows 7 instead of Windows 98...
If you're in a team, one person upgrading forces all of your developers to have to upgrade as the Solution files and Project files will be marked as being 2010 format and VS2008 won't read them. One of our developers checked in a project using a 2010 beta and now we can't work on it as we didn't buy 2010 yet :(
I suggest you get VS2010 Express (when it's around) and experiment with it as far as performance goes. It's not quite the same as the full version, but close enough to spot big problems I should think.

Do I need to buy Visual Studio Professional?

I have been using Visual Studio Express versions. I used to use the full Pro VS 2005. I can't figure out what I am missing with the Express version. What benefits will I get if I buy the full version of VS?
Here you go. This link is vs2005 specific rather than the more-recent 2008, but that's the version you asked about.
Some highlights:
No Mobile Device support
No Object Test Bench
No Extensions
No built-in source control support (they should really change this)
No remote debugging
No Office Development support
No 64-bit compiler support
No Visual Studio Package support
No profiler
No SQL Server debugging integration
Limited deployment options
This list is actually quite lengthy, but with the notable exception of source control they are mostly things you might be able to do without as a single developer, if you really have to. Even the source control can be handled by a file-system-only tool like Tortoise.
Obviously if you're building something like a smart phone app or VS extension it's a non-starter, so you'll need to evaluate what you're really doing. Some of the other missing features like object test bench or the profiler can be partially replaced by third-party tools.
Here's a link to a downloadable Visual Studio 2008 Product Comparison Guide from Microsoft.
The full version of Visual studio supports some extra features and tools.
One of the big differences is more debugging options (You can specify break conditions for debugging, unlike the express version). That feature alone is probably worth it.
You can also install 3rd party addons to add extra featues.
No Resharper.
also, you can add addins like VisualSVN and Resharper into pro. You can't into express.
Matze might be right - MS needs the money - 5K people layed off today, and only 4.7b profit! :(
Depends on what you do. Look at the product matrix to see what features you gain with higher SKUs. Testing, Smart Devices, etc may or may not be relevant for you.
This really just requires a bit of Googling.
You can view a comparison of the paid versions here and an overview of the Express versions here
Have a look at this:
http://blogshare.members.winisp.net/docs/VisualStudio2008-ProductComparison-v1.02-Revisions.xps
If you are doign any sort of professional development with Visual Studio you should buy the Standard edition at a bare minimum. Without it you will loose Source Control integration which IMHO is vital absolute must no questions asked must have for professional development.
I used VS2003 for a while, and am currently using VS2008 C# Express.
Personally, I miss the ability to set a conditional breakpoint instead of simply breaking when a line is hit, and the Threads window.
Support for code version systems is a feature that is real essential.
And Microsoft needs your money to go on implementing new, hot stuff.

What is so great about Visual Studio? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
In my admittedly somewhat short time as programmer, I have used many development environments on many platforms. Most notably, Eclipse/Linux, XCode/OSX, CLI/editor/Linux, VisualDSP/Blackfin/Windows and MSVC/Windows. (I used each one for several months)
There are neat features in pretty much all of them. But somehow, I just can't find any in MSVC. Then again, so many people really seem to like it, so I am probably missing something here. So please tell me: What is so great about Visual Studio?
Things I like:
Refactoring tools in Eclipse
Build error highlighting in XCode and Eclipse
Edit-all-in-Scope in XCode
Profiler in XCode
Flexibility of Eclipse and CLI/editor
Data plotting in VisualDSP
Things I don't like
Build error display in MSVC (not highlighted in code)
Honestly, this is not meant to be a rant. Of course I am a Mac-head and biased as hell, but I have to use MSVC on the job, so I really want to like it.
The best thing about visual studio is that it's the host application for Resharper ;)
It depends from programmer to programmer. I preferably like Visual Studio because:
(1) Development is much faster as compared to other IDEs.
(2) Intelli-Sense concept works best in Visual Studio. In some IDEs I noted that the menu opens when you pressed the . and moved ahead. And also the concept of Intelli-Sense started with Visual Studio. I am sorry for hurting if I am wrong.
(3) I use Aptana Studio for PHP development. It is a great IDE as it is built on Eclipse, but still I am able to work faster, specially while working on HTML files, using Visual Studio than in Aptana. But again, Aptana also has some very neat features.
(4) I find debugging a .NET application using Visual Studio much easier than working with other IDEs.
IMHO, Visual Studio has one of the best debuggers in the business. Much easier to use than the many graphical frontends to gdb out there.
Visual Studio is more integrated with its supported languages than anything I have ever experienced (I've been around the block--Aptana, Eclipse, Zend Studio, etc.).
Add ReSharper to the mix, and I'm in heaven.
What I like is the:
Intellisense (code-comletion features)
In-environment documentation
ReSharper is a plug-in which enhances these things and adds some more advanced features like large-scale refactoring, killer object discovery features, code validation against recommended standards (which you can change to fit your own needs).
After close to 10 years using and loving Visual Studio up to version 2008, I have been doing some Java development in Eclipse for a few months and I am quite surprised that, in my opinion, Eclipse is a much more advanced IDE. I just miss a lot of features when I go back to VS.
Perhaps the people that think VS is the best haven't used any other modern IDE lately.
I had the same question myself, since everyone seems to love Studio (and I personally think it's not even close to Eclipse's abilities).
After a lot of reading, I came to the (possibly wrong?) conclusion that: Visual Studio is great for .net languages, but Visual Studio for C/C++ is just not close to as good.
Almost everyone who speaks so highly of Visual Studio is coming from a .net background, and a lot of the wonderful things they keep talking about, I just couldn't find when working on C++.
This, btw, makes a lot of sense: the main effort of Microsoft is to push .net forward, and the tight integration with Studio makes it a very powerful IDE (the same way Eclipse is great for Java development).
If you are using Visual Studio for C or C++ programming, you should really look into Visual Assist X. It adds refactoring and better syntax highlighting and a few extra things.
If you are using Subversion for version-control, you should also look into VisualSVN (best) or AnkhSvn (free).
With those add-ons you might find Visual Studio more to your liking.
'Out of the box', I can write a program without having to go through all the hooplah of installing CDT (or whatever other tools). This is a real PITA for Ubuntu and not much better on windows. (The updates never seem to work right, there are always stupid package incompatibility problems, or special install steps).
The environment 'feels' natural to windows and non-clunky, and that lack of awkwardness counts a lot toward productivity. Shortcuts are common with other windows apps, window behavior is the same, etc.
VS is also not cluttered by a crapload of windows when you open a project. I'm sure that there are ways to save the perspectives in Eclipse so you don't have to do this every time, but it is an extra step.
Visual Studio isn't a great IDE at all - I discovered that when I started C# development.
With Resharper it's pretty nice, with features present in better IDEs like Eclipse andIntelliJ IDEA.
I have no idea why Microsoft doesn't just buy JetBrains and merges Resharper into Visual Studio.
Visual Studio Team System Data Base Edition - all the tools you need: code editor with designer, Source Control, Team View and , what's best - Data Base deployment!
Probably someone else already gave this answer, but:
DEBUGGING Tools
That's it. Simple as that. Point me to one tool that can debug code as fully as VS can, and I'd marry it (yes, I'm married to VS). When you are targeting .Net, things get even better.
Which one did you use first?
From someone who has been developing since...uhm...punching holes in cards and has seen IDEs evolve I actually like using Visual Studio, but I like other ones too. I find Visual Studio is best with Microsoft specific languages such as VB or C#, and it has many of the features comparable to the points you say you like in others.
I do find that I need time to get used to a new IDE because since I use VS a lot, I'm usually looking for the VS way to do something. So maybe it's just the case of giving it time. And if you don't like it try out the customisations to change it or turn it off.
I dare say that VS introduced some ideas that other IDEs adopted and vice versa.
My top favourite thing is the intelli-sense that never seemed too obtrusive compared to other IDEs, and for C# VS 2003 seemed to get a lot clever at predicting what I wanted to type.
It certainly is not an IDE to despise.
VS is getting better from version to version, with 3rd party tools like resharper it is as good as the other tools. (sames goes to profiling.. the 3rd parties are pretty good).
basically - if you coding dot net - this is the tool, and if you're coding java - you have the others...
so the real question - which framework you like better, and not which IDE....
.... and if you are only using good old c++ I think which ever tool you're used to...
I used to compile c++ on borland on dos and I was happy :-)
I use both Delphi and Visual Studio. While I prefer Delphi (for a lot of reasons), there are some things that Visual Studio does better.
The code editor works better, making writing code smoother, and therefore faster.
The help. It's faster, returns more relevant results and is better integrated into IDE.
It's more of a .Net thing than Visual Studio, but I'm really liking ASP.Net, so I'd have to call that another win for VS.
And for bonus points, I'm also a big fan of Delphi Prism, which is hosted in Visual Studio.
So, if you're writing code for Windows, there are a lot of things to like in the Visual Studio IDE.
The debugger (I primarily use C++). I make sure my projects work in Visual Studio all along, even if my team in my job isn't supporting it, because it always saves our hide in the end. Otherwise its non-standard solution/project system is somewhat annoying.
Also, for someone accustomed to using VS, Eclipse is far too sluggish. It's like an ice hockey fan trying to become a soccer fan. It can happen, but it's not easy.
I tried using VS2010 for working on a Great Plains / eConnect project, and it kept crashing on me.
I would like to like this IDE, but I can't even use it right now. VS2010 has the featureset I need to work on the above (with the newest versions).
I like VS because it is the more responsive one (runs circles around Eclipse for instance). I'm still using 2005 though and not looking forward to the upgrade to 2010 (we skip every other release, so not 2003 and no 2008 here).

Recommended add-ons/plugins for Microsoft Visual Studio [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Can anyone recommend any good add-ons or plugins for Microsoft Visual Studio?
Freebies are preferred, but if it is worth the cost then that's fine.
SmartPaster - (FREE) Copy/Paste code generator for strings
AnkhSvn - (FREE) SVN Source Control Integration for VS.NET
VisualSVN Server - (FREE) Source Control
ReSharper - IDE enhancement that helps with refactoring and productivity
CodeRush - Code gen macros on steroids
Refactor - Code refactoring aid
CodeMaid (FREE) - Code cleanup, organization and complexity analysis
CodeSmith - Code Generator
GhostDoc - (FREE) Simple code commenting tool
DXCore (FREE) and its many awesome plugins: DxCore Community Plugins, CR_Documentor, CodeStyleEnforcer, RedGreen
TestDriven.Net - (FREE/PAY) Unit Testing Aid
Reflector - (PAY) Feature rich .Net Disassembler Reflector AddIn's
Web Deployment Projects - Provides additional functionality to build and deploy Web sites and Web applications (source).
StudioTools - (FREE) Navigation assistant, code metrics tool, incremental search, file explorer in visual studio and tear off editor windows. Moved from old site (archive.org) to new site and discontinued.
Not free, but ReSharper is definitely one recommendation.
Whole Tomato's Visual Assist X. I absolutely swear by it. I would like to see a better plug in for Lint than Visual Lint by Riverblade, but since that will eventually be moved onto the build server I don't mind running it every couple of days manually.
PowerCommands is a Microsoft-created plugin that offers a variety of new features that one would think probably should have been in Visual Studio in the first place.
These include
Copying/Pasting project references!
"Open Containing Folder" to jump straight to the hard-drive location of a file or project
Automatic reorganizig and sorting of using statements
"Open Command Prompt Here" to open a command prompt in any of your project folders.
Collapse Projects
RockScroll is awesome, and free.
Addendum
As #Andrei points out, MetalScroll is a better alternative. It's Open Source, and corrects some annoying things about RS.
I'm a big fan of CodeRush and Refactor! Pro by DevExpress. I've been using them for a number of years, and without a doubt it makes me a faster developer. Also, both are built on a free framework called DXCore that allows you to develop your own plug-ins for Visual Studio, and the sky is the limit there...
Resharper
Resharper MbUnit Test Runner Add-On
SQL Prompt for Database Projects (works inside your SQL Management Studio as well)
Ankh SVN 2.0+ for free SVN support (v1.x pales in comparison)
TeamCity plug-in to monitor your builds, personal builds, and bug tracking
I find Ghost Doc to be very useful.
GhostDoc is a free add-in for Visual Studio that automatically generates XML
documentation comments for C#. Either by using existing documentation inherited
from base classes or implemented interfaces, or by deducing comments from
name and type of e.g. methods, properties or parameters.
If you use SVN for source control, definitely get VisualSVN. It enables TortoiseSVN interactions from within the Visual Studio IDE.
I also echo the Resharper comment. Retail price is a little steep, but if you're a student or otherwise educationally affiliated, it's actually pretty cheap.
+1 Visual Assist.
It's unfortunate that you need a plugin to get really good intellisense but it's definitely worth paying for.
LinqPad is great for testing linq to objects/xml/sql. Free download.
What about IncrediBuild? This is a nice distributed build system with visual studio integration.
Clipboard Manager
Maintains your clipboard data through removal of lines, a few other nice items but that one alone makes me happy.
Regionerate
While some have problems with regions I think if you use them, this tool is for you. Automatically region'izes your code into appropriate region blocks. Fully configurable for custom items etc.
VSCommands 2010
from the website:
Latest version supports:
Manage Reference Paths
Prevent accidental Drag & Drop in Solution Explorer
Prevent accidental linked file delete
Apply Fix (automatically fix build errors/warnings)
Open PowerShell
Show Assembly Details
Create Code Contract
Cancel Build when first project fails
Debug Output - custom formatting
Build Output - custom formatting
Search Output - custom formatting
Configure WPF Rendering
Configure Fusion Logs
Configure IE for debugging
Locate Source File
Thumbnails in IDE Navigator
Extended support for xaml, aspx, css, js and html files
Disable Ctrl + Mouse Wheel Zoom
Zoom to Mouse Pointer
Configurability
Attach to local IIS
Copy Full Path
Build Startup Projects
Open Command Prompt
Search Online
Build Statistics
Group linked items
Copy/Paste Reference
Copy/Paste as Link
Collapse Solution
Group items directly from user interface (DependantUpon)
Open In Expression Blend
Locate in Solution
Edit Project File
Edit Solution File
Show All Files
and others, so try it now!
http://trolltech.com/products/qt/">Qt Cross-Platform Application Framework
Qt is a cross-platform application framework for desktop and embedded development. It includes an intuitive API and a rich C++ class library, integrated tools for GUI development and internationalization, and support for Java™ and C++ development
They have a plug-in for Visual Studio that costs a bit of money, but it is worth every penny.
I've been using Visual Assist X for nearly two years now, and I find it so useful I can honestly say that if my employer didn't provide it, I'd have to pay for it myself.
I also use Cool Commands and SlickEdit (the free version), whose File Explorer and Command Spy tools are quite useful.
+1 for Visual Assist
And I will add VLH (Visual Local History) which provides a kind of local source control system. Every time you save a file, the plugin add a copy in the local repository.
ViEmu
vi/vim support inside VS
I found this site called Visual Studio Gallery - it has a lot of visual studio add-ins. I'm browsing it right now and I recommend everyone to visit it.
Consolas font
Free font from MS designed for reading code.
Try MetalScroll!! It's better than Rockscroll
Sonic File Finder for when you have loads of files in your solutions and searching for them in the solution explorer becomes a pain in the wrist.
You might also find DPack interesting. Several tools and enhancements rolled into one neat package.
MZTools is great too.
+1 for CodeRush & Refactor Pro. I've been using CodeRush since its Delphi incarnations, and it's utterly wonderful. The mantra of "Code at the speed of thought" is very close to reality ;)
Microsoft StyleCop provides code style checking for C#, we use it all the time and love it (free)
Axialis IconWorkshop has a Visual Studio add-in which is now free for VS2008 users.
Resharper Yes another vote, because I can't upvote everyone who suggests it :)
Workspace Whiz for C++, I used to live by Workspace Whiz but haven't used it in VS2008 as I hadn't realised there was an update. Will have to give it a try again.
If you're doing C++ coding, hands down Visual Assist.
I love CopySourceAsToHTML as a cool little addin. It's great if you want to copy code blocks for blogging and the like while maintaining your syntax formatting.
I think this is still the url.. you have to do some manual work to set it up with 08.
http://www.jtleigh.com/people/colin/software/CopySourceAsHtml/
For the laptop bound or for those with vi/vim key bindings burned into the brain I would recommend ViEmu.
If you have not tried editing with vi key bindings here is why you may want to try "Why, oh WHY, do those #?#! nutheads use vi?"
AtomineerUtils Pro Documentation - automatic DocXml/Doxygen/JavaDoc/Qt doc-comment generation/updating (similar to GhostDoc, but more powerful & flexible, and supports C#, C++, C++/CLI, C, Java and Visual Basic code).
The style of the generated comments is very configurable, and automatic re-formatting (such as whitespace control and word wrapping) can be optionally applied to keep the comments as readable as possible. It also has many helpers to allow users to read and convert most legacy doc-comments into any of the above formats.
(I'm the author, but I believe the above is an accurate and objective description. This add-in was free when this answer was first added, but to cover the costs of hosting, supporting, and continuing to improve the addin in monthly releases, it is now $10 with a 30-day free trial)
I'm always amazed that more people don't know about/use NDepend - it shows all dependencies at every level of your code, and will even draw pretty box and arrow pictures showing how confused your architecture really is :) Together with TestDriven.Net, I can't imagine working without it any more. Free/cheap.

Resources