Description:
Upon an enter stroke for below snippet, cursor moves from cursor1 to cursor2. Can we improve it to add a tab or align it with from in the line before for a better user experience?
Steps to reproduce:
type Person record {
string first;
string last;
int yearOfBirth;
};
public function main() {
Person[] persons = [
{first: "Melina", last: "Kodel", yearOfBirth: 1994},
];
string[] names = from var {first, last} in persons <cursor1>
<cursor2>
}
Description: Upon an enter stroke for below snippet, cursor moves from
cursor1
tocursor2
. Can we improve it to add atab
or align it withfrom
in the line before for a better user experience?Steps to reproduce: