You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Objects like Reports, Query and API pages tent to have a lot of empty brackets.
I believe the readability of the code improves when these empty brackets are collapsed into a single line. So a new rule to suggest collapsing empty brackets into a single line.
There is already an code action for this available on the AZ AL Dev Tools/AL Code Outline for Visual Studio Code (anzwdev/al-code-outline#493).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Objects like Reports, Query and API pages tent to have a lot of empty brackets.
I believe the readability of the code improves when these empty brackets are collapsed into a single line. So a new rule to suggest collapsing empty brackets into a single line.
There is already an code action for this available on the AZ AL Dev Tools/AL Code Outline for Visual Studio Code (anzwdev/al-code-outline#493).
Example without collapse
Example with collapse
Beta Was this translation helpful? Give feedback.
All reactions