Click here to Skip to main content
15,886,362 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: Tabs vs Spaces Pin
TNCaver20-Oct-22 5:17
TNCaver20-Oct-22 5:17 
GeneralRe: Tabs vs Spaces Pin
Jim Spencer10020-Oct-22 6:15
professionalJim Spencer10020-Oct-22 6:15 
GeneralRe: Tabs vs Spaces Pin
Member 1577796220-Oct-22 5:52
Member 1577796220-Oct-22 5:52 
GeneralRe: Tabs vs Spaces Pin
englebart20-Oct-22 7:01
professionalenglebart20-Oct-22 7:01 
GeneralRe: Tabs vs Spaces Pin
StatementTerminator20-Oct-22 7:45
StatementTerminator20-Oct-22 7:45 
GeneralRe: Tabs vs Spaces Pin
Juan Pablo Reyes Altamirano20-Oct-22 8:02
Juan Pablo Reyes Altamirano20-Oct-22 8:02 
GeneralRe: Tabs vs Spaces Pin
James Curran20-Oct-22 9:10
James Curran20-Oct-22 9:10 
GeneralRe: Tabs vs Spaces Pin
Gary R. Wheeler20-Oct-22 9:52
Gary R. Wheeler20-Oct-22 9:52 
I used tabs until Visual Studio .NET 2003 unrecoverably broke the block indent/undent operation when you mixed tabs and spaces. After that I switched to spaces.

And yes, this same operation has been broken ever since. VC6 would let you have {tab}{tab}{sp}{sp}stuff, and when you indented, that became {tab}{tab}{tab}{sp}{sp}stuff. All versions since then have stripped the leading tabs and/or spaces and inserted N tabs or N*s spaces.

Studio has been through more than one editor rewrite since then, and it still doesn't work right. I'm using VS2019 now, and it occasionally decides to treat indents as blocks. It's not predictable though.
Software Zen: delete this;


modified 20-Oct-22 17:00pm.

GeneralRe: Tabs vs Spaces Pin
Daniel Wilianto20-Oct-22 17:28
Daniel Wilianto20-Oct-22 17:28 
GeneralRe: Tabs vs Spaces Pin
Member 1409260520-Oct-22 22:27
Member 1409260520-Oct-22 22:27 
GeneralRe: Tabs vs Spaces Pin
YSLGuru21-Oct-22 8:34
YSLGuru21-Oct-22 8:34 
GeneralRe: Tabs vs Spaces Pin
YSLGuru21-Oct-22 8:36
YSLGuru21-Oct-22 8:36 
GeneralRe: Tabs vs Spaces Pin
Shmoken9921-Oct-22 12:12
Shmoken9921-Oct-22 12:12 
GeneralRe: Tabs vs Spaces Pin
Br.Bill30-Oct-22 8:39
Br.Bill30-Oct-22 8:39 
GeneralRe: Tabs vs Spaces Pin
UziTech5-Nov-22 9:43
UziTech5-Nov-22 9:43 
GeneralFound on a forum I moderate PinPopular
honey the codewitch18-Oct-22 23:59
mvahoney the codewitch18-Oct-22 23:59 
GeneralRe: Found on a forum I moderate Pin
trønderen19-Oct-22 2:02
trønderen19-Oct-22 2:02 
GeneralRe: Found on a forum I moderate Pin
Mike Hankey19-Oct-22 2:11
mveMike Hankey19-Oct-22 2:11 
GeneralRe: Found on a forum I moderate Pin
Mycroft Holmes19-Oct-22 11:57
professionalMycroft Holmes19-Oct-22 11:57 
GeneralRe: Found on a forum I moderate Pin
Mike Hankey19-Oct-22 12:05
mveMike Hankey19-Oct-22 12:05 
GeneralRe: Found on a forum I moderate Pin
englebart20-Oct-22 7:04
professionalenglebart20-Oct-22 7:04 
GeneralRe: Found on a forum I moderate Pin
Eddy Vluggen19-Oct-22 4:23
professionalEddy Vluggen19-Oct-22 4:23 
JokeRe: Found on a forum I moderate Pin
englebart20-Oct-22 7:06
professionalenglebart20-Oct-22 7:06 
GeneralCCC, 19th October, 2022 Pin
Kornfeld Eliyahu Peter18-Oct-22 23:02
professionalKornfeld Eliyahu Peter18-Oct-22 23:02 
GeneralRe: CCC, 19th October, 2022 Pin
pkfox18-Oct-22 23:05
professionalpkfox18-Oct-22 23:05 

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.