I am currently working on configuring arrangement rules for organizing class local variables before input variables. I want to structure them like this:
private x;
public y;
@Input private z;
@Input public q;
However, despite my efforts, I have been unable to find any resources on how to achieve this specific formatting. Has anyone else faced a similar obstacle and discovered a solution?
For example, transforming the following code snippet:
export class TestComponent {
private options;
public loading;
@Input()
public data;
@Input()
private elementId;
}
into this desired arrangement:
export class TestComponent {
private options;
public loading;
@Input()
private elementid;
@Input()
public data;
}
Unfortunately, my attempts have only resulted in this arrangement:
export class TestComponent {
private options;
@Input()
private elementId;
@Input()
public data;
public loading;
}