top | item 47098237 (no title) JSR_FDED | 8 days 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. discuss order hn newest craig552uk|8 days ago I've never yet seen a linter option for assignment alignment, but would definitely use it if it were available ivanjermakov|8 days ago AlignConsecutiveAssignments in clang-format might be the right fit.https://clang.llvm.org/docs/ClangFormatStyleOptions.html skydhash|8 days ago I know prettier can isolate a code section from changes by adding comments. And I think others can too.
craig552uk|8 days ago I've never yet seen a linter option for assignment alignment, but would definitely use it if it were available ivanjermakov|8 days ago AlignConsecutiveAssignments in clang-format might be the right fit.https://clang.llvm.org/docs/ClangFormatStyleOptions.html
ivanjermakov|8 days ago AlignConsecutiveAssignments in clang-format might be the right fit.https://clang.llvm.org/docs/ClangFormatStyleOptions.html
skydhash|8 days ago I know prettier can isolate a code section from changes by adding comments. And I think others can too.
craig552uk|8 days ago
ivanjermakov|8 days ago
https://clang.llvm.org/docs/ClangFormatStyleOptions.html
skydhash|8 days ago