Using the Code Viewer in VEXcode AIR

The Code Viewer in VEXcode AIR allows users to see the text-equivalent of their Blocks project and watch the project change in real-time.


Opening and Closing the Code Viewer

A close-up screenshot of the upper right side of the VEXcode AIR Toolbar, highlighting the Code View button, which shows a less than and greater than symbol, located beneath the Download and Run buttons.

In a Blocks project, select the Code Viewer icon in the upper right corner.

A screenshot of the workspace on the left, showing a project that reads when started, take off to 500mm. On the right the Code viewer is open and shows the analogous Python command reading drone dot take off, climb to equal 500, units equal mm.

The Code Viewer window displays the Python version of the Blocks project.

A screenshot of the top portion of the Code Viewer the with right facing carrot arrow on the far right beside the Help icon highlighted, indicating what to select to close the Code Viewer.

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


Viewing Changes in the Code Viewer

While adding, modifying, or removing blocks from a project, the Code Viewer will update.

This video shows the parameter of the take off block changing from '500' to '800' and the analogous parameter in the Code Viewer changing from 500 mm to 800. Then another block is added beneath the take off block and the matching Python command appears in the Code Viewer beneath the existing take_off.

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

Last Updated: