The Snippet Designer is a plugin which enhances the Visual Studio IDE to allow a richer and more productive code snippet experience.
- A Snippet editor integrated inside of the IDE.
- Access it by opening any .snippet file or going to File -> New -> File -> Code Snippet File
- It uses the native Visual Studio code editor so that you can write the snippets in the same enviorment you write your code.
- It lets you easily mark replacements by a convenient right click menu.
- It displays properties of the snippet inside the Visual Studio properties window.
Via Snippet Designer
Have you ever had to work with a legacy codebase? Designing new functionality on existing applications can be daunting. There are always differences between the original design and the current implementation. The new Architecture tools within Visual Studio 2010 help you to understand the application you have, design new functionality you need, and validate that your design and your implementation do not deviate. In this post, we’ll look at how to understand the application that you have.
Studiostyles.info enables you to easily browse and download Visual Studio color schemes that others have already created. The color schemes work for both VS 2008 and VS 2010 (all versions – including the free VS express editions):
1. Pinning variables when debugging
2. Box selection
Brittany Behrens from the Visual Studio Editor Team has an excellent 3 minute video that shows off a few cool VS 2010 multi-line code editing scenarios with box selection
3. On-the-fly search
When pressing Crtl and , (comma) the new Navigate To window appears. This is a real-time search window offering basically the same functionality as the Find and Replace window (opened by Crtl + Shift + F) but doing it on-the fly
5. View call hierarchy
6. Sequence diagrams
7. Dependency graphs
8. IntelliTrace and dump debugging
9. Multi-monitor support
Click on the document tab or tool window and drag outside the IDE to any location on any monitor.
10. Intellisense improvements
a. When selecting any variable, all instances of it are highlighted
b. Search is not limited to prefixes
Chris Lovett posted a *great* 20 minutes video on how to use custom “Generate Dependency Graph” to manage larger code bases with the new visualization tools in VS2010.
Via Skinner’s Blog : Visualizing large code bases with VS2010
Here’s an outline of what Deployment Related topics Scott covered
- Web Packaging – Offline vs. Online
- From VS 2010
- From IIS Manager
- Web.Config Transformation
- Transform Syntax
- Locator Syntax
- Why not XSLT?
- Command Line
- What If Switch
- From IIS
- Content Sync
- DB Deployment
- Scripting Source DB
- Adding custom SQL Scripts
- Download and Deployment of Open Source
- One Click Publish
- Using Web Deploy (Ms Deploy) WMSVC
- Using Web Deploy (Ms Deploy) Remote Agent
- Using InProc Web Deploy (Ms Deploy)
Here’s some cool highlights about WebDeployment in Visual Studio 2010. You can right-click on your web.config and click "Add Config Transforms."
When you do this, you’ll get a web.debug.config and a web.release.config. You can make a web.whatever.config if you like, as long as the name lines up with a configuration profile. These files are just the changes you want made, not a complete copy of your web.config.
Fore more visit Scott Hanselman – Web Deployment Made Awesome: If You’re Using XCopy, You’re Doing It Wrong
One of the pretty cool new features of Visual Studio 2010 (in the Premium and Ultimate) is that they have provided you basic modeling abilities inside the IDE. One of the new features is the Layer Diagram. A Layer Diagram allows you to visually see how your various components (from assembly all the way down to methods) interact and relate. One great feature that the Layer Diagram provides you is a way to be able to take a snapshot of your systems architecture and later perform validation against that snapshot to see if your code still conforms to your desired layout.
In this post we will review how to create a layer diagram and then how to validate your architecture against that diagram. To read more goto –> Validating Application Architecture with Visual Studio 2010 – Layer Diagrams
Once you have the Architecture Explorer open, simply drag on items from the view onto canvas.
Click Generate Dependencies and once VS is done, the canvas should look like below:
Lets pretend that some time has gone by and you want to double check to see if your code still reflects your desired architecture as you laid out previous
You can also check out this post on Layer Diagram: http://blogs.msdn.com/jasonz/archive/2010/02/18/favorite-vs2010-features-layer-validation.aspx