Skip to content

Better structure fields initialization in generated tests #253

@alexey-utkin

Description

@alexey-utkin

We need the option to transform initialization from initialization-list-based way

    {0, 0, 
      {1, 2}, 
      {1, 2, 3}, 
      0, 0, 0, 
      {4,5,{3,3}}}

to struct-field-based:

structA.x = 0;
structA.y = 0;
structA.subStru.m = 1;
structA.subStru.n = 2;
...

Seems like it should be a UI option in the formatting settings.

Metadata

Metadata

Assignees

Labels

customerIssues from customersenhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions