dev
dev copied to clipboard
Cyclic structure layering
The loop keyword is currently used, which looks vague in the editor. When a loop contains multiple loop structures:
if
.......
then
.........
while true
repeat
..........
until .........
repeat
..........
until ..........
end
else
if
.........
then
........
end
When writing a script with a long code and a complex loop structure, it is very uncomfortable whether it is writing or previewing the code. Perhaps each structure should be made clearer, such as the line box in most editors:

Or there are other ways to make the structure clearer.
See my answer in https://github.com/sannybuilder/dev/issues/143#issuecomment-855422099