2 ms·
Using the same length of related variable names is definitely a good thing. Just lining things up neatly helps spot bugs. It’s the one thing I don’t like abou
by JSR_FDED 8mo ago
Using the same length of related variable names is definitely a good thing.
Just lining things up neatly helps spot bugs.
It’s the one thing I don’t like about strict formatters, I can no longer use spaces to line things up.
- craig552uk 8mo agoI've never yet seen a linter option for assignment alignment, but would definitely use it if it were available
- ivanjermakov 8mo agoAlignConsecutiveAssignments in clang-format might be the right fit. https://clang.llvm.org/docs/ClangFormatStyleOptions.html https://clang.llvm.org/docs/ClangFormatStyleOptions.html
- skydhash 8mo agoI know prettier can isolate a code section from changes by adding comments. And I think others can too.