Rename C++ File

For example:

  • I add code, lets say AItem.
  • I rename then in VS the code to AItem2 and all the includes and references

After that, Unreal Engine cannot compile anymore with an error of AItem not found.

Same happens if I try to remove AItem.cpp and AItem.h