Whenever I change the ports in my program my entire program gets deleted and is replaced with this crap:// To complete the VEXcode V5 Text project upgrade process, please follow the
// steps below.
//
// 1. You can use the Robot Configuration window to recreate your V5 devices
// - including any motors, sensors, 3-wire devices, and controllers.
//
// 2. All previous code located in main.cpp has now been commented out. You
// will need to migrate this code to the new “int main” structure created
// below and keep in mind any new device names you may have set from the
// Robot Configuration window.
//
// If you would like to go back to your original project, a complete backup
// of your original (pre-upgraded) project was created in a backup folder
// inside of this project’s folder.
// ---- START VEXCODE CONFIGURED DEVICES ----
// Robot Configuration:
// [Name] [Type] [Port(s)]
// Controller1 controller
// Drivetrainleftback motor 12
// Drivetrainrightback motor 13
// Drivetrainleftfront motor 1
// Drivetrainrightfront motor 10
// Lift motor 6
// LeftClaw motor 3
// RightClaw motor 9
// Dumper motor 18
// Gyro1 gyro D
// ---- END VEXCODE CONFIGURED DEVICES ----
#include “vex.h”
#include “robot-config.h”
using namespace vex;
/*int main() {
}*/
// /----------------------------------------------------------------------------/
// /* /
// / Module: main.cpp /
// / Author: C:\Users\Jennifer /
// / Created: Wed Sep 25 2019 /
// / Description: V5 project /
// / /
// /----------------------------------------------------------------------------*/
// // ---- START VEXCODE CONFIGURED DEVICES ----
// // Robot Configuration:
// // [Name] [Type] [Port(s)]
//
If possible can you please explain why the heck this happens and a possible way to fix it.