Saturday, December 19, 2009

VS 2010 Multi-Monitor support

World is changing and now most of the people has started working with two monitors, it makes them more productive, as people say.

Now if you consider, that you can view Form-Design and Form-code together, would it make you productive? or if you have ever felt sometimes how annoying it is to navigate from one tab to another tab in code editor view to look at code, compare, debug, or even work.

Considering this fact VS 2010 team made these Code/Form-Design windows Floatable, and so whichever code/design window you want to open in another monitor/screen parallely you can select "Float" option on the context menu (right-click that window) and drag it to your 2nd monitor.

If you see in the image here, as you right-click on a window it shows you a new option "Float"

click on the image to see larger view

Float was not an option with VS 2008 or earlier version of Visual Studios.Other options shown in the contect menu in the image above are same as of Visual Studio 2008 and earlier versions.

VS 2010 - Start Page Behaviour

If you have noticed whenever you open a project in Visual Studio, it also opens "Start Page" in the project.

Whereas this is not what you always wanted, sometimes you want only code files pages shown in your project. Visual Studio 2010 team realized this and brought cutomization to user when you begin with a new project.

Click on the image to see larger view

If you select both the check-boxes (as shown in the image) you will see Start Page upon loading of VS 2010 IDE, but as soon as you create a project, Start Page will not be shown at all, unlike VS 2008 or earlier versions.

If you wish to see Start Page while working on a project you can use View menu, Start Page option.

Tuesday, December 08, 2009

VS 2010 IDE integration with SQL 2008 T-SQL Editor

Visual Studio 2010 has new feature to invoke T-SQL Editor inside its IDE itself.

So unlike in VS 2008 and other previous Visual Studio versions where you had to open SQL Server Management Studio to run the T-SQL queries, VS 2010 provides this feature which comes handly when you need to interact with database without leaving your Visusl Studio IDE.

You can access it through Data menu by choosing Transact-SQL Editor option. It offers connectivity only with SQL Server 2008 only, in order to open T-SQL Editor.

click on the image to see in larger view, use back button to continue reading

Once the T-SQL Editor is open it also shows the SQL related toolbar on the top, as shown marked in RED color on top-left, and allows you to work with SQL 2008 Databases without leaving the VS 2010 IDE.