There are times when I wonder what MS developers are smoking...
-
There's been a niggle with VS for me for a while: I use CTRL+C and CTRL+V to copy and paste, but they are close together and occasionally I get a Copy when I wanted a Paste. Normally I just sigh, and go back to copy it again - but it annoys me a little when I'm on a blank line with nothing selected, and the Paste operation copies the blank line to the clipboard. Why? Why do that? Well, it's deliberate: there's an option to specifically do that.
Tools -> Options -> Text Editor -> All Languages -> General ... "Apply Cut or Copy commands to blank lines when there is no selection"
And for whatever reason the default state is "Yes, copy a damn blank line to the clipboard when there is no selection". Why, Microsoft? Why? :doh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
There's been a niggle with VS for me for a while: I use CTRL+C and CTRL+V to copy and paste, but they are close together and occasionally I get a Copy when I wanted a Paste. Normally I just sigh, and go back to copy it again - but it annoys me a little when I'm on a blank line with nothing selected, and the Paste operation copies the blank line to the clipboard. Why? Why do that? Well, it's deliberate: there's an option to specifically do that.
Tools -> Options -> Text Editor -> All Languages -> General ... "Apply Cut or Copy commands to blank lines when there is no selection"
And for whatever reason the default state is "Yes, copy a damn blank line to the clipboard when there is no selection". Why, Microsoft? Why? :doh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
There's been a niggle with VS for me for a while: I use CTRL+C and CTRL+V to copy and paste, but they are close together and occasionally I get a Copy when I wanted a Paste. Normally I just sigh, and go back to copy it again - but it annoys me a little when I'm on a blank line with nothing selected, and the Paste operation copies the blank line to the clipboard. Why? Why do that? Well, it's deliberate: there's an option to specifically do that.
Tools -> Options -> Text Editor -> All Languages -> General ... "Apply Cut or Copy commands to blank lines when there is no selection"
And for whatever reason the default state is "Yes, copy a damn blank line to the clipboard when there is no selection". Why, Microsoft? Why? :doh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
I guess you should start leaning "How to keep focus on which button I am going to click". :laugh:
The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~
-
There's been a niggle with VS for me for a while: I use CTRL+C and CTRL+V to copy and paste, but they are close together and occasionally I get a Copy when I wanted a Paste. Normally I just sigh, and go back to copy it again - but it annoys me a little when I'm on a blank line with nothing selected, and the Paste operation copies the blank line to the clipboard. Why? Why do that? Well, it's deliberate: there's an option to specifically do that.
Tools -> Options -> Text Editor -> All Languages -> General ... "Apply Cut or Copy commands to blank lines when there is no selection"
And for whatever reason the default state is "Yes, copy a damn blank line to the clipboard when there is no selection". Why, Microsoft? Why? :doh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
Don't you know WordStar?[^]
Ctrl-Insert
for copyShift-Insert
for paste Works everywhere. Visual Studio messes it up. :D Solves that empty-line-copy problem too, from what I can tell. *** EDIT *** Oh, interesting, Ctrl-Insert and Shift-Insert are from the IBM Common User Acess (CUA)[^] -
There's been a niggle with VS for me for a while: I use CTRL+C and CTRL+V to copy and paste, but they are close together and occasionally I get a Copy when I wanted a Paste. Normally I just sigh, and go back to copy it again - but it annoys me a little when I'm on a blank line with nothing selected, and the Paste operation copies the blank line to the clipboard. Why? Why do that? Well, it's deliberate: there's an option to specifically do that.
Tools -> Options -> Text Editor -> All Languages -> General ... "Apply Cut or Copy commands to blank lines when there is no selection"
And for whatever reason the default state is "Yes, copy a damn blank line to the clipboard when there is no selection". Why, Microsoft? Why? :doh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
Even more bizarre is that someone had the foresight to make that behavior configurable. Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
-
Even more bizarre is that someone had the foresight to make that behavior configurable. Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
I'm gonna guess that in the early days copy just copied whatever was there even if it was nothing, people kept complaining, eventually they added in the option to make it behave more sensibly but didn't want to make the default different to accustomed behaviour. Which is a sensible general policy. True sense comes, however, from not blindly applying your policy, no matter how sensible it may be.
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
-
There's been a niggle with VS for me for a while: I use CTRL+C and CTRL+V to copy and paste, but they are close together and occasionally I get a Copy when I wanted a Paste. Normally I just sigh, and go back to copy it again - but it annoys me a little when I'm on a blank line with nothing selected, and the Paste operation copies the blank line to the clipboard. Why? Why do that? Well, it's deliberate: there's an option to specifically do that.
Tools -> Options -> Text Editor -> All Languages -> General ... "Apply Cut or Copy commands to blank lines when there is no selection"
And for whatever reason the default state is "Yes, copy a damn blank line to the clipboard when there is no selection". Why, Microsoft? Why? :doh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
Interesting way to clear the clipboard so as to not have 'forgotten' items in there that may be inadvertently posted later.
-
I'm gonna guess that in the early days copy just copied whatever was there even if it was nothing, people kept complaining, eventually they added in the option to make it behave more sensibly but didn't want to make the default different to accustomed behaviour. Which is a sensible general policy. True sense comes, however, from not blindly applying your policy, no matter how sensible it may be.
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
IIRC, copy only ever did anything at all if there was a selection - and most apps work that way even today. The whole idea of copy working on non-selected data is bad, I think - but I wish it worked in MS error message boxes where you can't select anything anyway! :laugh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
There's been a niggle with VS for me for a while: I use CTRL+C and CTRL+V to copy and paste, but they are close together and occasionally I get a Copy when I wanted a Paste. Normally I just sigh, and go back to copy it again - but it annoys me a little when I'm on a blank line with nothing selected, and the Paste operation copies the blank line to the clipboard. Why? Why do that? Well, it's deliberate: there's an option to specifically do that.
Tools -> Options -> Text Editor -> All Languages -> General ... "Apply Cut or Copy commands to blank lines when there is no selection"
And for whatever reason the default state is "Yes, copy a damn blank line to the clipboard when there is no selection". Why, Microsoft? Why? :doh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
What ever happened to the multi-chased copy paste?
Mongo: Mongo only pawn... in game of life.
-
What ever happened to the multi-chased copy paste?
Mongo: Mongo only pawn... in game of life.
It was too multi-chaste, and died out since it didn't copy...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
There's been a niggle with VS for me for a while: I use CTRL+C and CTRL+V to copy and paste, but they are close together and occasionally I get a Copy when I wanted a Paste. Normally I just sigh, and go back to copy it again - but it annoys me a little when I'm on a blank line with nothing selected, and the Paste operation copies the blank line to the clipboard. Why? Why do that? Well, it's deliberate: there's an option to specifically do that.
Tools -> Options -> Text Editor -> All Languages -> General ... "Apply Cut or Copy commands to blank lines when there is no selection"
And for whatever reason the default state is "Yes, copy a damn blank line to the clipboard when there is no selection". Why, Microsoft? Why? :doh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
I wish they would separate that option to one for copy and one for cut. Because I agree that copying a blank line is just silly. Cutting however? When I'm rearranging code (commenting / moving similar methods/props next to each other, etc..., ergo, a lot of cutting/pasting), I use ctrl-x to cut (read: delete) blank lines all the time. Much easier to do with one hand on the mouse, and the other on ctrl-x. ctrl-delete requires me to leave the mouse or contort.
-
I wish they would separate that option to one for copy and one for cut. Because I agree that copying a blank line is just silly. Cutting however? When I'm rearranging code (commenting / moving similar methods/props next to each other, etc..., ergo, a lot of cutting/pasting), I use ctrl-x to cut (read: delete) blank lines all the time. Much easier to do with one hand on the mouse, and the other on ctrl-x. ctrl-delete requires me to leave the mouse or contort.
And I was just about to enable that option... good catch.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
-
There's been a niggle with VS for me for a while: I use CTRL+C and CTRL+V to copy and paste, but they are close together and occasionally I get a Copy when I wanted a Paste. Normally I just sigh, and go back to copy it again - but it annoys me a little when I'm on a blank line with nothing selected, and the Paste operation copies the blank line to the clipboard. Why? Why do that? Well, it's deliberate: there's an option to specifically do that.
Tools -> Options -> Text Editor -> All Languages -> General ... "Apply Cut or Copy commands to blank lines when there is no selection"
And for whatever reason the default state is "Yes, copy a damn blank line to the clipboard when there is no selection". Why, Microsoft? Why? :doh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
If you think about the vast number of options in VS (in Tools => options), and wonder why and WTF a lot of them do, then ya, it makes you think "Why MS, why?" But what really bugs the piss outta me is when menu & shortcut options change from one version of VS to another.
If it's not broken, fix it until it is
-
Interesting way to clear the clipboard so as to not have 'forgotten' items in there that may be inadvertently posted later.
Tim Carmichael wrote:
way to clear the clipboard so
I've done that when I've copied and pasted large amounts of information from other projects or applications just to clear the clipboard. :laugh:
It was broke, so I fixed it.
-
It was too multi-chaste, and died out since it didn't copy...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
Hold still. Bubba the angry male sheep wants to hurt you now.
Software Zen:
delete this;
-
I wish they would separate that option to one for copy and one for cut. Because I agree that copying a blank line is just silly. Cutting however? When I'm rearranging code (commenting / moving similar methods/props next to each other, etc..., ergo, a lot of cutting/pasting), I use ctrl-x to cut (read: delete) blank lines all the time. Much easier to do with one hand on the mouse, and the other on ctrl-x. ctrl-delete requires me to leave the mouse or contort.
Why won't you just press delete ?
-
Why won't you just press delete ?
Because some(many) times the "blank" lines have extra spaces or tabs in them. Delete will only get rid of one of the characters. ctrl-x eliminates the whole line. And I think these faux-blank lines still count as blank as far as this option is concerned. Also: since this is usually in the midst of moving code, my hand is already over the ctrl-x keys.
-
There's been a niggle with VS for me for a while: I use CTRL+C and CTRL+V to copy and paste, but they are close together and occasionally I get a Copy when I wanted a Paste. Normally I just sigh, and go back to copy it again - but it annoys me a little when I'm on a blank line with nothing selected, and the Paste operation copies the blank line to the clipboard. Why? Why do that? Well, it's deliberate: there's an option to specifically do that.
Tools -> Options -> Text Editor -> All Languages -> General ... "Apply Cut or Copy commands to blank lines when there is no selection"
And for whatever reason the default state is "Yes, copy a damn blank line to the clipboard when there is no selection". Why, Microsoft? Why? :doh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
That is the second setting I change when installing a new copy of any version of VS.
My plan is to live forever ... so far so good
-
Don't you know WordStar?[^]
Ctrl-Insert
for copyShift-Insert
for paste Works everywhere. Visual Studio messes it up. :D Solves that empty-line-copy problem too, from what I can tell. *** EDIT *** Oh, interesting, Ctrl-Insert and Shift-Insert are from the IBM Common User Acess (CUA)[^]That's the old school way of doing it. I can remember it from the DOS / Word Perfect / Quatro Pro days. Funny thing is, nobody ever considered copy/pasting an empty line back then. We did things more efficiently by using the huge [Enter] key on the keyboard.
My plan is to live forever ... so far so good
-
I wish they would separate that option to one for copy and one for cut. Because I agree that copying a blank line is just silly. Cutting however? When I'm rearranging code (commenting / moving similar methods/props next to each other, etc..., ergo, a lot of cutting/pasting), I use ctrl-x to cut (read: delete) blank lines all the time. Much easier to do with one hand on the mouse, and the other on ctrl-x. ctrl-delete requires me to leave the mouse or contort.
In VS I prefer to use [Ctrl]+[Shift]+[L] to remove empty lines. That way I don't lose what's in the clipboard. It normally happens when I decide to move chunks of code around by cutting what I want to keep, removing all lines to clean up, then going to the new location and pasting. That way I don't have to scroll around or remember where to clean up again.
My plan is to live forever ... so far so good