Click here to Skip to main content
15,891,431 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Thought of the Day Pin
W Balboos, GHB23-Feb-21 6:53
W Balboos, GHB23-Feb-21 6:53 
GeneralRe: Thought of the Day Pin
Mike Hankey23-Feb-21 6:58
mveMike Hankey23-Feb-21 6:58 
GeneralRe: Thought of the Day Pin
richwfowler24-Feb-21 5:58
richwfowler24-Feb-21 5:58 
GeneralRe: Thought of the Day Pin
W Balboos, GHB23-Feb-21 6:18
W Balboos, GHB23-Feb-21 6:18 
GeneralRe: Thought of the Day Pin
Rage23-Feb-21 6:59
professionalRage23-Feb-21 6:59 
GeneralRe: Thought of the Day Pin
  Forogar  23-Feb-21 8:15
professional  Forogar  23-Feb-21 8:15 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer23-Feb-21 7:25
professionalDaniel Pfeffer23-Feb-21 7:25 
GeneralVS 2019 auto expand during highlight. Pin
Ron Nicholson23-Feb-21 5:26
professionalRon Nicholson23-Feb-21 5:26 
/rant
I'm using VS 2019 Community, if that matters. Seems like this happened in professional as well. I have a for loop with around a hundred lines. I collapse it then attempt to highlight all of the lines, but as soon as I drag below that single line, vs expands the collapsed line and forces me to drag the entire amount of lines. Which sux way too much. This didn't used to happen. Something has changed and maybe it was 2019, who knows. Anyway I can't find anything on google to allow me to turn it off. I can't even find anything that appears to be my situation.
/rant off

In this particular case, I want to comment out the for loop for a minute to debug something else. Double clicking the line will highlight the line but not the collapsed portion. I swear this wasn't this way until recently.

Any thoughts on how to 'fix' this or on what to search for? auto expand, mouse drag, highlight are all words I've looked for.

Basically if it is collapsed, I want it to stay that way until I don't.

I did find that
SHIFT-ALT-+ will expand the highlight to include everything in the {}
SHIFT-ALT-] will highlight the entire for loop
and SHIFT-DOWN will highlight and expand the collapsed section.

Moral of the story(?): Quit using the mouse to highlight. Not a bad idea to quit using the mouse in general.
Jack of all trades, master of none, though often times better than master of one.

GeneralYour dry-cleaner is a retired software dev Pin
raddevus23-Feb-21 4:55
mvaraddevus23-Feb-21 4:55 
GeneralRe: Your dry-cleaner is a retired software dev Pin
raddevus23-Feb-21 5:31
mvaraddevus23-Feb-21 5:31 
GeneralSome advice, for contractors Pin
raddevus23-Feb-21 4:47
mvaraddevus23-Feb-21 4:47 
GeneralCOvid restrictions do have unintended benefits Pin
OriginalGriff23-Feb-21 3:49
mveOriginalGriff23-Feb-21 3:49 
GeneralRe: COvid restrictions do have unintended benefits PinPopular
pkfox23-Feb-21 4:24
professionalpkfox23-Feb-21 4:24 
GeneralRe: COvid restrictions do have unintended benefits Pin
20212a23-Feb-21 4:31
20212a23-Feb-21 4:31 
GeneralRe: COvid restrictions do have unintended benefits Pin
Greg Utas23-Feb-21 4:33
professionalGreg Utas23-Feb-21 4:33 
GeneralRe: COvid restrictions do have unintended benefits Pin
GenJerDan23-Feb-21 4:51
GenJerDan23-Feb-21 4:51 
GeneralRe: COvid restrictions do have unintended benefits Pin
TheGreatAndPowerfulOz23-Feb-21 7:32
TheGreatAndPowerfulOz23-Feb-21 7:32 
GeneralRe: COvid restrictions do have unintended benefits Pin
dandy7223-Feb-21 7:54
dandy7223-Feb-21 7:54 
GeneralRe: COvid restrictions do have unintended benefits Pin
trønderen23-Feb-21 9:53
trønderen23-Feb-21 9:53 
GeneralRe: COvid restrictions do have unintended benefits Pin
5teveH23-Feb-21 5:30
5teveH23-Feb-21 5:30 
GeneralRe: COvid restrictions do have unintended benefits Pin
Rage23-Feb-21 6:56
professionalRage23-Feb-21 6:56 
GeneralRe: COvid restrictions do have unintended benefits Pin
Slacker00723-Feb-21 5:25
professionalSlacker00723-Feb-21 5:25 
GeneralRe: COvid restrictions do have unintended benefits Pin
20212a23-Feb-21 8:31
20212a23-Feb-21 8:31 
GeneralRe: COvid restrictions do have unintended benefits Pin
glennPattonWork323-Feb-21 8:39
professionalglennPattonWork323-Feb-21 8:39 
GeneralRe: COvid restrictions do have unintended benefits Pin
Dan Neely23-Feb-21 5:50
Dan Neely23-Feb-21 5:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.