Maybe everyone else is already doing this and I’m just slow on the uptake but Visual Studio Code has options to automatically format files at various points.
The AL extension for VS Code provides a formatter for .al files. You can run it manually with the Format Document command (Shift+Alt+F). This inserts the correct number of spaces between parameters and brackets, indents lines…
Continue Reading james’s Article on their blog
Tip: Format AL Files OnSave in Visual Studio Code
Maybe everyone else is already doing this and I’m just slow on the uptake but Visual Studio Code has options to automatically format files at various points. The AL extension for VS Code provides a formatter for .al files. You can run it manually with the Format Document command (Shift+Alt+F).
Blog Syndicated with james’s Permission
More About This Author
Array
#Dyn365BC2020.09.28Part 2a: (Slightly) More Elegant Error Handling in Business Central
#Dyn365BC2020.09.15Part 2: (Slightly) More Elegant Error Handling in Business Central
#Dyn365BC2020.07.30Debugging Business Central Tests with AL Test Runner
#Dyn365BC2020.07.21Tip: Evaluating DateTime with Type Helper