Renaming Server Action Structure

Indeed as you discovered a refactoring process can became quickly very complicated.

For example if one server action is used in multiple files, when you rename it, you have to go through all the files and rename it in the code there as well.

That is why we haven’t implemented rename on purpose yet.

We do plan in future versions to have a meta index per project containing all the links, images, include files and server connect actions usage, so that we know where what is used and when you rename it, we can auto rename it in all other files.

But this have quite a large impact in Wappler so it will take some time to implement.

3 Likes