Is it better to use VEXcode Pro V5 or Visual Studio Code?

I just opened V5 Pro and it said that future updates will be on Visual Studio Code.

Is it better to use VSCode to program my auton code?

Depends, which programming language do you use?
C++: Honestly personal preference, I prefer to use VS Code
Python: You can’t use the language in V5 Pro

I would recommend to switch, but it’s all up to you

1 Like

Vscode is much nicer because it is more customizable with extension, has git integration, can use live-share, and is more commonly used by people outside of vex.

3 Likes

If any new devices or sensors are added to the Vex Family you won’t be able to code them in V5 Pro.

In my opinion, the only con of VSCode is you can’t code in Python but if you want to progress your coding skills or move to something like pros you should use C++ anyway.

Knowing how to code C++ is a super useful skill if you want to go further with your coding.

2 Likes

You can use the vex vscode extension to code python. You cannot use PROS to code python.

2 Likes

My bad I think I got it the wrong way around with vs code and v5 pro.

I haven’t used Python coding much.

How would you config your robot, cause v5 + pro both had the config where you could add your controller, motors, etc. How would you do it in VS?

by defining them in text, like this:

inline pros::Motor Intake(19);
inline pros::ADIDigitalOut Clamp('A');
inline pros::Motor Arm1(11);
inline pros::Motor Arm2(12);

Thanks that helps a lot

That is for PROS, not the vex vscode extension. While PROS also uses vscode, it is different from the vex vscode extension.

Yes, the code I posted above is for PROS. In the VEX VSCode Extension devices would be defined like this:

motor Intake = motor(PORT19);
pneumatics Clamp = pneumatics(Brain.ThreeWirePort.A);
motor Arm1 = motor(PORT11);
motor Arm2 = motor(PORT12);
1 Like