File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,21 @@ If (expression) {
4040 #dim status As %Status = $$$OK
4141```
4242 This will help editor to provide better auto-complete, and eventually will be used by static checker for type informantion extraction.
43+ * Please indent blocks reasonably. We recommend to use 8, 4 or 2 spaces indentations. Pick your level, and apply consistently.
44+ ```
45+ if (expression) {
46+ do ..Method(args...)
47+ set i = j + 1
48+ } else {
49+ while (condition) {
50+ write arg1, arg2, !
51+ }
52+ }
53+ ```
4354* For better readablity please insert spaces after comma in argument list, i.e.
4455```
4556 Write 1, 2, 3
46- Do ..Method(Arg1, Arg2, Arg3 )
57+ Do ..Method(arg1, arg2, argN )
4758```
4859* For better readability please insert spaces around assignment. You may align several neighbour assignments according to your tastes, i.e.
4960```
You can’t perform that action at this time.
0 commit comments