al-code-outline icon indicating copy to clipboard operation
al-code-outline copied to clipboard

[Suggestion] Add multiple fields on Record variable

Open fvet opened this issue 6 years ago • 1 comments

In C/AL I often copied a large set of fields from the Table Designer, did some Excel magic and got my code for lots of fields. In AL, I've not yet found a way to easily select a set of fields and insert them all at once.

Would it be possible to enable the 'Add multiple fields' code action on Record variables (or a WITH Rec statement) and add the fields at once in code (same way the fields are added on list pages, ...)

image

fvet avatar Sep 10 '19 12:09 fvet

Thank you for your suggestion, that's a good idea. I'll check how complicated it would be to implement this functionality.

anzwdev avatar Sep 10 '19 22:09 anzwdev

Above can be achieved quit easily with various VS Code options, including Intellisense, multi select of field from source table, ... Also Github CoPilot does a good job in proposing field names in the meanwhile.

So the past years, I didn't really miss the lack of the requested 'add multiple fields' feature.

fvet avatar Jan 28 '24 18:01 fvet