The menu with the code files and the compiler window on the right disappeared.
Does anyone knows if it's possible to reset everything to factory settings so that everything comes back in advance?
To restore settings to default, see https://www.jetbrains.com/help/rider/Reset_Settings.html#restore-defaults.
Data copied from that location:
Best of luck solving your problem.