waldo1001 / crs-al-language-extension

Make working with the (Dynamics NAV / 365) AL Language easier and more efficient.
MIT License
34 stars 42 forks source link

Don't Add Prefix/Suffix if already included one from AppSourceCop mandatoryAffixes #279

Open evjrr opened 1 year ago

evjrr commented 1 year ago

In AppSourceCop you can add more then one affix.

I have inherited a PTE app from another partner and I wish to create all new objects with PTE suffix instead of the previous partners suffix.

Add a affix array in CRS parameter with allowed affixes and don't add Prefix/Suffix in object name if one of the listed affixes already exist

pri-kise commented 1 year ago

@evjrr you could create a PR to support this feature on Object Names. I added support for the AppSourCop.json via the following PR: https://github.com/waldo1001/crs-al-language-extension/pull/254 I didn't had the time, to add this feature to all places where the "Prefix/Suffix" is used.