waldo1001 / crs-al-language-extension

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

Rename/Reorganize feature: Update all references if affixes are added to fields #208

Closed ngiessel closed 2 years ago

ngiessel commented 2 years ago

When renaming a file and the corresponding object (adding mandatory affixes), all references to this object are properly updated.

Fields also have the affix added, however, contrary to my expectations, references to the fields are not updated, causing errors.

This means you would have to

Is this something that could be changed?

waldo1001 commented 2 years ago

I know, the references are not updated. Simply because this is way over my head: I never tap into the symbol, stuff.

I spent a lot of time trying to make this work, but decided to give up. Also because this isn't a function that is continuously used, it's only used once to get going.

Sorry ... :(

waldo1001 commented 2 years ago

I have done this for a number of cases, and there are actually quite some ways to efficiently Find/Replace in VSCode.. .

ngiessel commented 2 years ago

I understand, thanks anyway!