Jack @ ASP.NET

As a software engineer, I focus on .NET, especially asp.net, C#, WCF and so on, and I am also very interested in Search Engine Optimization.

Entries Tagged ‘Mouse’

Web Essentials extension – Visual Studio 2010 add-on

The Web Essentials extension lets you perform common tasks much easier,

Features include:

  • Minify CSS
  • Same word highlighting
  • Code collapsing/outlining
  • Convert easily between hex, rgb and named color values
  • Right-click folder now includes Add JavaScript and Stylesheets
  • Adds SmartTags to selectors for targeting specific IE versions
  • Color preview on mouse hover
  • Font preview on mouse hover
  • Image preview on mouse hover
  • Support for regions /*#region MyRegion */
  • Brace matching
  • Minify JavaScript
  • Adds SmartTags to properties for targeting IE6 & IE7
  • Embed url() references as base64 strings
  • Drag and drop support for image, font, audio and video files

Download at http://visualstudiogallery.msdn.microsoft.com/6ed4c78f-a23e-49ad-b5fd-369af0c2107f

Keyboard Shortcut Tricks in Visual Studio 2010

  1. visual-studio-2010-asp.net4 Insert a blank line above or below the current line:
    Go to any line in the Editor and press CTRL + Enter to insert a line above or CTRL + SHIFT + Enter to insert a line below the current line.
  2. Pasting a single selection into a box selection
    ALT + Left Mouse
  3. Zoom in or out of text in the Editor using the mouse wheel
    CTRL + Mouse Wheel
  4. Zero-length box selection
    Alt + Left Mouse
    • Assume that you have a a situation with some variables like the ones below and you want to make them all public
    • The answer is a zero-length box selection.  Hold down your ALT key and Left Mouse Button, then drag straight down
    • Release the ALT key and the Left Mouse Button.
    • Done~