You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a really minor thing, but I noticed the code indenting is inconsistent in various parts of the PageTurner codebase. I may be one of the worst offenders, I think the code I contributed for Nook support is all indented differently to the rest of PageTurner!
Is there a canonical indentation style that you'd like used? I'd be happy to submit a PR which standardises indentation, if that's of any assistance.
The text was updated successfully, but these errors were encountered:
…README
This was done via macros but it looks OK to me at a once-over, it should
be possible to change anything that seems wrong.
Indents are 4 spaces, as requested. All tabs removed.
Multiline argument lists are indented two levels beneath the function
definition or call.
Opening braces haven't been moved to the same line as the defining
function if they weren't already there. There seem to be relatively few
of these anyhow.
For the record, the output of this is emacs' standard java-mode
indentation with the following hook set:
> ; Don't indent argument lists aggressively in Java
> (add-hook 'java-mode-hook '(lambda ()
> (c-set-offset 'arglist-intro '+)
> (c-set-offset 'arglist-cont-nonempty '++)
> ))
... which is hopefully fairly similar to what IntelliJ does.
This is a really minor thing, but I noticed the code indenting is inconsistent in various parts of the PageTurner codebase. I may be one of the worst offenders, I think the code I contributed for Nook support is all indented differently to the rest of PageTurner!
Is there a canonical indentation style that you'd like used? I'd be happy to submit a PR which standardises indentation, if that's of any assistance.
The text was updated successfully, but these errors were encountered: