It's annoying in VS2008 when I press the END
key, and my cursor jumps out to way beyond the end of the line of code, because I have trailing whitespace from a copy+paste or reformat.
I would like the END
key to ignore whitespace. How can I best do this?
I thought of using AutoHotkey to catch END
keypresses, and replace them with "CTRL+E
, \
, END
" (That's "Delete Horizontal White Space", under Edit -> Advanced).
I'd like a less hacky solution if possible, though.