4 Matching Annotations
- Oct 2020
-
-
I'm more inclined towards an {@ tag than a {# tag because the indentation could quickly get out of control
-
-
github.com github.com
-
{#with someExpression as someVariable} <p>{someVariable}</p> {/with}
-
-
www.python.org www.python.org
-
When the conditional part of an if-statement is long enough to require that it be written across multiple lines, it's worth noting that the combination of a two character keyword (i.e. if), plus a single space, plus an opening parenthesis creates a natural 4-space indent for the subsequent lines of the multiline conditional. This can produce a visual conflict with the indented suite of code nested inside the if-statement, which would also naturally be indented to 4 spaces.
Tags
Annotators
URL
-
- Jul 2016
-
nickgravgaard.com nickgravgaard.com
-
The solution - move tabstops to fit the text between them and align them with matching tabstops on adjacent lines
Tags
Annotators
URL
-