This is not supported yet. We are currently looking into automatically importing GPDSC files generated by STM32CubeMX, but before this feature is available, the only way to regenerate the project would be to re-import it or copy the files to the project directory manually.