Keyboard Shortcut for Cut & delete

Without selecting/highlighting, you can cut or delete an entire line in visual studio 2012. Just place your cursor on that line and –

1. Press Ctrl + Shift + L to delete a line

2. Presss Ctrl + L to cut a line.

 

Note that you can customize shortcut keys as following –

Go to Tools -> options. Tab Environment -> subtab Keyboard.

Select Edit.LineDelete. Assign a shortcut. Thats it.

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s