Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use 2 spaces to indent code blocks #12

Open
wStockhausen opened this issue Nov 3, 2023 · 0 comments
Open

use 2 spaces to indent code blocks #12

wStockhausen opened this issue Nov 3, 2023 · 0 comments

Comments

@wStockhausen
Copy link
Collaborator

It's much easier to read the code and follow the logic when code blocks within brackets are indented (and most code editors do it for you automagically). A lot of code blocks in the TPL file are only indented a single space from the "outer" code, which is not quite enough to make the indenting obvious. I suggest using a 2-space indent in the future (as well as fixing the 1-space indents as time allows). Also, if you use tabs for indenting, make sure the editor converts these to (2) spaces when the file is saved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant