We have to work with tabs instead of spaces for line indentation since the displays and resolutions we are working with are very different. So sometimes an indentation of 2, sometimes of 4 or sometimes even of 8 is needed (resolutions of 2560x1600/5120x1600 or above). So to not muddle the code we use a tab instead of 2 spaces and set the indentation size in our IDE (1 tab := 2, 4 or 8 spaces). For multi line array and comment indentation we use spaces as it should be mixed with tabs for the respective line indentation. So independently from the size of one tab the code and multi line arrays/comments are aligned always.

Though I like to use the "normal" coder setting to meet the rest of the Drupal coding standards the "normal" setting is quite useless as every line of code is marked. Therefore making the tab check optional or minor would solve that problem.

Comments

stella’s picture

Status: Active » Closed (works as designed)

I'm afraid this coding standard is one of the main ones for Drupal and the coding standards dictate that 2 spaces should be used every where for consistency. As such I'm afraid I won't be modifying coder to remove this rule or make it less important.

Cheers,
Stella