2 ms·
Block comments interleaved with code are rare in most codebases I've worked on, because it's almost always easier to put them on their own lines, above the stat
by guitarbill 8y ago
Block comments interleaved with code are rare in most codebases I've worked on, because it's almost always easier to put them on their own lines, above the statement:
/* This function call is really cool and stuff */
someLongFunctionNameThatWillBeRefactored(
longVariableName1,
longVariableName2);
So I sort of dismissed that use-case as a toy example. But yes, if you did that elastic tabstops would be useful... except the contents of the block comment doesn't get reflowed when the tabstop width changes. Which I'm sure we could do, but then we're getting into interesting territory w.r.t edge cases/usability for sure.