mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
Namely, for their case clauses and inner comments. Right now, each of them is indented on its own, as a separate formatting block. It's still not entirely clear whether we should have a dedicated indented container element for case clauses, similar to PyStatementList for statements. It might simplify the formatter and some editing actions, but cause confusion between the two container elements. GitOrigin-RevId: 69184d2f8f78e2e113e8f40a310bb13ac0b5e71a
7 lines
142 B
Python
7 lines
142 B
Python
match x:
|
|
# match leading comment
|
|
case 1:
|
|
pass
|
|
# case trailing comment
|
|
# match trailing comment
|
|
# unrelated comment |