Showing posts with label ReSharper. Show all posts
Showing posts with label ReSharper. Show all posts

Friday, March 8, 2013

VS2012.2 – tips and tricks–team explorer shortcuts and patterns

With the upcoming Visual Studio 2012 Update 2 and Visual Studio Tools for Git support for Git source control is coming to visual studio.

For this the Visual Studio team has adopted some parts of VS2012 new Team Explorer UI to make it easier to connect to different repositories in a quicker way.

Like in my previous shortcuts and patterns post I’ve tried to adapt the existing pattern to support the new Visual Studio Tools for Git extension.

Team commands shortcuts
View.TfsTeamExplorer SHIFT + ALT + V, T
View.TfsSourceControlExplorer SHIFT + ALT + V, S

Pattern for “classic” Team Explorer commands: SHIFT + ALT + T

Team Explorer commands shortcuts
Team.TeamExplorerSearch STRG + ä
TeamFoundationContextMenus.Commands.GoToHome SHIFT + ALT + T, H
TeamFoundationContextMenus.Commands.GoToBuilds SHIFT + ALT + T, B
TeamFoundationContextMenus.Commands.GoToWorkItems SHIFT + ALT + T, W
TeamFoundationContextMenus.Commands.GoToPendingChanges SHIFT + ALT + T, P
TeamFoundationContextMenus.Commands.GoToMyWork SHIFT + ALT + T, M
TeamFoundationContextMenus.Commands.GoToWebAccess SHIFT + ALT + T, A

Pattern for Editor/SourceControl: SHIFT + ALT + S

TFS Editor/SourceControl commands shortcuts
File.TfsHistory SHIFT + ALT + S, H
File.TfsAnnotate SHIFT + ALT + S, A
File.TfsCompare SHIFT + ALT + S, C
File.TfsUndoCheckout SHIFT + ALT + S, U

Pattern for Git Team Explorer commands: SHIFT + ALT + T

Team Explorer commands shortcuts scope
Team.Git.GoToGitBranches SHIFT + ALT + G, B global
Team.Git.GoToGitChanges SHIFT + ALT + G, G global
Team.Git.GoToGitCommits SHIFT + ALT + G, C global
Team.Git.OpenCommandPrompt SHIFT + ALT + O, P Team Explorer
Team.Git.OpenFileExplorer SHIFT + ALT + O, E Team Explorer
Team.Git.Push SHIFT + ALT + G, P Team Explorer
Team.Git.ViewHistory SHIFT + ALT + G, H global

Tuesday, November 6, 2012

IntelliCommand Visual Studio Extension

Using Resharper and sometimes not finding the correct shortcut for your command?

IntelliCommand, is a new extension for VS2010 and VS2012 which will show you an overlay about available commands inside Visual Studio. It’s not only showing you all available keyboard shortcuts, it’s also filtering which are available in the current context (in the screenshot you’ll see all available text editor commands)

IntelliCommand can also help you to identify which keyboard shortcuts in which context are available.

Source: http://visualstudiogallery.msdn.microsoft.com/83f59659-abc1-4bfa-9779-42f687af0481

Monday, October 22, 2012

VS2012 – tips and tricks – team explorer shortcuts and patterns

In my last post I wrote about team explorer shortcuts and patterns for Visual Studio 2010.

Visual Studio 2012 has already been launched with the new Team Explorer. Like the new Solution Explorer, the new Team Explorer follows the concept of a single tool-window with multiple scopes depending on the content.

image

Unlike the solution explorer which supports multiple instances for different scopes the new Team Explorer doesn’t support this which requires multiple clicks to navigate between the different scopes and sometimes you’re felling like lost in the toolbox.

For quick navigation shortcuts are your friend …

If you are a ReSharper user the following shortcuts are compatible with IDEA scheme.

Pattern for Team Explorer: SHIFT + ALT + T

VS2012 Team Explorer commands shortcuts

Team.TeamExplorerSearch

STRG + ä

TeamFoundationContextMenus.Commands.GoToHome

SHIFT + ALT + T, H

TeamFoundationContextMenus.Commands.GoToBuilds

SHIFT + ALT + T, B

TeamFoundationContextMenus.Commands.GoToWorkItems

SHIFT + ALT + T, W

TeamFoundationContextMenus.Commands.GoToPendingChanges

SHIFT + ALT + T, P

TeamFoundationContextMenus.Commands.GoToMyWork

SHIFT + ALT + T, M

TeamFoundationContextMenus.Commands.GoToWebAccess

SHIFT + ALT + T, A

Pattern for Editor/SourceControl: SHIFT + ALT + S

VS2012 TFS Editor/SourceControl commands shortcuts

File.TfsHistory

SHIFT + ALT + S, H

File.TfsAnnotate

SHIFT + ALT + S, A

File.TfsCompare

SHIFT + ALT + S, C

File.TfsUndoCheckout

SHIFT + ALT + S, U

Wednesday, April 20, 2011

Faster XAML editing in VS2010

If you are working with the XAML Editor in VS2010 you’ve maybe realized that it’s much better than with VS2008.

You can even be faster if you change the editor from default XAML Editor to “Source Code (Text) Editor”.

You not only have VS IntelliSense, XML collapsing and the XAML context menu support, also you have full ReSharper support!

How to change the default editor:

  1. Right-click on a XAML file in the Solution Explorer
  2. Select "Open With..."
  3. Select "Source Code (Text) Editor"
  4. Click on "Set as Default"
  5. Click OK
  6. You're done!

image

With SHIFT + F7 you can change from “Source Code (Text) Editor” to the default XAML editor with its split view, navigator, etc.

Source: http://weblogs.asp.net/fmarguerie/archive/2009/01/29/life-changer-xaml-tip-for-visual-studio.aspx