Using the Code Viewer in VEXcode IQ

Using the Code Viewer in VEXcode IQ is easy and helpful.


How to open the Code Viewer

VEXcode IQ icon representing the VEX IQ Robotics platform, used for educational resources and tutorials in the Blocks Tutorials section, aimed at beginner robotics enthusiasts and educators.

Launch VEXcode IQ.

Screenshot of the VEXcode interface showcasing the Blocks programming environment for VEX IQ Robotics, illustrating various coding blocks used for programming robots in educational settings.

The platform defaults to the Blocks interface.

Screenshot of the VEXcode IQ interface showing the Code Viewer, used in Blocks Tutorials for VEX IQ Robotics, highlighting programming options and features for educational robotics projects.

Select the Code Viewer icon to open the Code Viewer window.

Screenshot of the VEXcode IQ Blocks programming interface, showcasing various programming blocks and options for users to create and customize robotics projects within the VEX IQ platform.

The Code Viewer window displays the C++ version of the Blocks project.

Screenshot of VEXcode IQ Blocks interface, showcasing programming blocks for VEX IQ robotics, illustrating options for building and controlling robots in educational settings.

If using a VEX IQ (2nd generation) Brain, you can also select "Python" from the bottom menu to see the Python version of the Blocks project.

Screenshot of the Minimize Code Viewer feature in VEXcode IQ, showcasing a user interface for programming VEX IQ robots, part of the Blocks Tutorials section in the VEX IQ knowledge base.

Hide the Code Viewer window when finished by selecting the right arrow next to the Help icon.


How text commands are added when blocks are added

Screenshot of the VEXcode IQ interface showing the process of adding a block in the programming environment, illustrating a tutorial for beginners in the VEX IQ Robotics platform.

Add a [Print] block to the project.

Screenshot of the Print Command View window in VEXcode IQ, showcasing options for printing programming blocks, relevant for educators and students learning robotics with the VEX IQ platform.

Select the Code Viewer icon to open the Code Viewer window.

Flowchart illustrating the programming blocks available in VEXcode IQ, showcasing how to create and control robot behaviors for VEX IQ Robotics platform projects and tutorials.

Notice that the print command will also be added to the Command Viewer window.


How text commands are deleted when blocks are deleted

Screenshot of the VEXcode IQ interface showing the 'Remove Block' function, illustrating how to delete programming blocks in the VEX IQ Robotics platform. This image supports the Blocks Tutorials section for educators and students learning robotics.

Delete the [Print] block from the VEXcode IQ project.

Note: for more information on how to delete a block, view the Delete a Block article from the VEX Library.

Screenshot of code removed from a VEX IQ Blocks tutorial, illustrating programming concepts for the VEX IQ Robotics platform, aimed at educational purposes and beginner robotics enthusiasts.

Notice that the print command will also be deleted from the Command Viewer window.

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: