Sign in
|
Join
Search
Jeff Key
It works on my machine
Home
Contact
About
RSS
Atom
Comments RSS
Recent Posts
Chicago geek dinner 11/22
Virtual PC free, too
You don't fool me, thirteen23
Sometimes, it's the small things..
How I almost watched Oprah
Sponsors
advertise here
Tags
Apps
Beef
Design/Architecture
Development
FFotD
Fun
General Software Development
Media Center
News
Platform
Polls
Tech-free
Utils
WinFX
x64
Navigation
Home
Blogs
My Job
InRule
My stuff
WhidbeyProjectConverter
NCoverGui
XmlDocViewer
NCover Browser
MessageDialog
.net site
TextBoxBalloonTip
Base62
CreateShortcut
GacDump
SnippetCompiler
NetworkDriveInfo
ControlPaintTester
NetPing
ObjectStateBrowser
HighColorIcon
AccessQueryAnalyzer
HtmlLinkLabel
Tracer
VersionInfo
FolderSizeBrowser
IsDebug
SingleDrive
Ruler
TempFileManager
P90X Reviews
Old stuff
Resource files in web apps
String interning
Bug in formatters
Tracing obfuscated assemblies
Writing for obfuscation #2
Runtime debugging w/switches
Fitness blog
Useful Stuff
Mailinator
SpamArrest
Free virus scan
PDC 2003 Decks
DropLoad
Password Generator
Divil Controls
Design Guidelines for Class Library Developers
System.Web.Mail
Creating XP Icons
Web Economy BS Generator
MSSQL Perf Tips
OpenSmtp
Indy
ReSharper
GhostDoc
Workspace Design
Paint.NET
Resources
Archives
November 2006 (1)
July 2006 (2)
April 2006 (2)
March 2006 (1)
February 2006 (1)
January 2006 (2)
December 2005 (1)
November 2005 (6)
October 2005 (2)
September 2005 (1)
August 2005 (2)
May 2005 (5)
April 2005 (8)
March 2005 (3)
February 2005 (3)
January 2005 (14)
December 2004 (5)
November 2004 (4)
October 2004 (11)
September 2004 (8)
August 2004 (4)
July 2004 (3)
June 2004 (4)
May 2004 (12)
April 2004 (15)
March 2004 (24)
February 2004 (27)
January 2004 (24)
December 2003 (37)
November 2003 (32)
October 2003 (24)
September 2003 (35)
August 2003 (27)
July 2003 (9)
June 2003 (18)
April 2003 (2)
March 2003 (13)
February 2003 (16)
Favorite VS.NET keyboard shortcut of the day
CTRL+L == Delete line == Happiness
Posted:
Mar 19 2004, 05:05 PM
by
jeffreykey
| with
10 comment(s)
Filed under:
Development
Comments
Josh said:
Shift + Del does this, too
#
March 19, 2004 6:27 PM
Jeff Key
said:
In C# Shift+DEL is Cut. If you have text selected, it cuts the selected text. If nothing is selected, it cuts the whole line. (This is important if you have other stuff you want to paste already on the clipboard.)
FWIW, I thought Shift+DEL did this too for a while until I realized I kept losing my clipboard info. :)
#
March 19, 2004 6:34 PM
No, the best one is said:
CTRL+]
Moves to the corresponding brace\bracket\#ifdef
Now THAT is a keystroke
#
March 21, 2004 2:08 PM
Kevin A. Boucher
said:
Those are good, but my favorite is CTRL + -.
It moves you to the last place you were editing.
#
March 22, 2004 2:36 PM
df said:
<hr>
#
March 23, 2004 5:37 PM
Omer van Kloeten
said:
It also copies the line to the clipboard, unfortunately, as does Shift+Del.
That sucks. I sure could use one that just deleted a line without copying it to the clipboard.
#
March 25, 2004 2:19 PM
Jeff Key
said:
Doh! You're right, Omer. That's quite a bummer and I'm surprised I haven't been bitten by it. Thanks for the info.
#
March 25, 2004 2:30 PM
Kiliman
said:
Do you know if there's a shortcut for Duplicate Line?
Another thing... do you know how do disable the "feature" where Ctrl+C will copy the line if nothing is selected?
<rant>I don't know how many times I've accidentally hit Ctrl+C when I meant to press Ctrl+V (paste). Luckily you can press Ctrl+Shift+V to cycle through the clipboard to paste the thing you wanted to paste before it got overwritten by the stupid Ctrl+C behavior.</rant>
Kiliman
#
April 16, 2004 3:19 PM
Jeff Key
said:
Unfortunately I dont...BUT:
I didn't know about the Ctrl+Shift+V! Bravo!
#
April 16, 2004 7:46 PM
Jeff Key
said:
Kiliman: Today's release of Resharper (
http://www.jetbrains.net/confluence/display/ReSharper/Changes
) includes a duplicate line feature. :)
#
April 21, 2004 2:39 PM