AL
AL copied to clipboard
Add Caption property to Table, Field, Page and Report snippets
Based on my own findings and the findings of the participants of an in-house workshop on VSCode I would like to suggests to add the Caption property to the following code snippets, so each Table, Page and Report object will be getting a caption (or the developer deliberately will abstain and remove the suggested Caption property.
- table.json
- ttable, including the field
- tfield, and all its variation
- tableextensios.json
- the field part in ttableext
- page.json
- tpage, for "Page of type card" and "Page of type list"
- taction
- report.json
- treport
Thank your for your suggestion! For now, we have been trying to keep the AL snippets with basic functionality so that users don't have to delete too many things when using them. If we figure out this is highly requested by the community, then we will of course add these properties as you suggested.
If you really feel that some things are missing in the snippets for the scenarios that you usually deal with, it is also possible for you to create your own snippet in VS Code. In VS Code, just do: File > Preferences > Snippets > User snippets > Select AL from the drop down list. You can then re-use the AL snippets available in on our github and customize them to fit your needs.
@qutreson , thanx. And yes, i know the functionality of creating your own snippets, but as you can read this is being asked for by more, so this would ideal to be picked up at the source, so by MS.