BartPermentier / al-toolbox

Adds Features to the AL Language Extension
MIT License
13 stars 9 forks source link

Is it possible to expand the functionality of "Change object prefix"? #126

Open davidsnchz opened 7 months ago

davidsnchz commented 7 months ago

Hello!

I was using the AL extension to change the prefixes of a migration from C/AL to AL, and I have seen that you have not contemplated in this functionality, to be able to indicate a filter to only process a type of object or even only the fields of the tableextension.

I did not want to change the rest for several reasons, and I only wanted to affect the tableextension fields. As a test, I changed from a prefix "blank" to a prefix like "TEST". In the end I changed all objects and references, I understand that this is the purpose of the tool, but it does not work for my case. I have tried to only open the TableExt folder, but then it doesn't change the references in the other files to the expected objects, so it doesn't work for me either.

I think that it could be very interesting for the tool to be able to indicate one of these parameters, since I have not found the way to be able to complete my task with this extension.

I have seen in the .js that you use ".al", maybe convert this to a varibale and the user can indicate a different text, like "TableExt.al".

Thank you very much for reading my request, I understand that it may not sound interesting, I will be attentive to the new news!

Best regards! 😁