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) {
40
40
#dim status As %Status = $$$OK
41
41
```
42
42
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
+ ```
43
54
* For better readablity please insert spaces after comma in argument list, i.e.
44
55
```
45
56
Write 1, 2, 3
46
- Do ..Method(Arg1, Arg2, Arg3 )
57
+ Do ..Method(arg1, arg2, argN )
47
58
```
48
59
* For better readability please insert spaces around assignment. You may align several neighbour assignments according to your tastes, i.e.
49
60
```
You can’t perform that action at this time.
0 commit comments