M
M
M1Anderson2015-03-04 17:51:11
ruby
M1Anderson, 2015-03-04 17:51:11

Why is indentation not needed before case and how to deal with editors?

Why, according to the styleguide in many languages, case and switch go on the same level, without indentation, but editors stubbornly put this indentation (sublime, IDEA)? How to deal with it and who is really right?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
OnYourLips, 2015-03-04
@M1Anderson

Editor -> Code Style -> Ruby -> Other -> Ident when cases

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question