DavidFeldhoff / al-codeactions

MIT License
17 stars 8 forks source link

Fix implicit with usages #82

Closed DavidFeldhoff closed 4 years ago

DavidFeldhoff commented 4 years ago

This command uses the AL0604 warnings reported by the AL Language Extension and qualifies them with a "Rec.". If a file contains more than 100 warnings then not all usages are reported by the AL Language extension. In these cases the command should be executed a second time after the warnings are recalculated (reload window?). After all implicit with usages are qualified once, the command "Add Pragma 'implicit with disable' to all files" should be executed. This adds the pragma to all pages, pageextensions, table, tableextensions, codeunits and request pages.