This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Array Range Ellipsis Syntax Suggestions #61
Open
Description
We want to add code action that will simplify array index range expressions.
Examples:
"ary[0..2..Length(ary)-1]" would become "ary[...2...]"
"ary[Length(ary)-1..-2..0]" would become "ary[...-2...]"
"ary[5..2..Length(ary)-1]" would become "ary[5..2...]"
"ary[0..2..5]" would become "ary[...2..5]"
"ary[5..Length(ary)-1]" would become "ary[5...]"
"ary[0..5]" would become "ary[...5]"
"ary[0..Length(ary)-1]" would become "ary[...]"