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


How to open the Code Viewer

VEXcode IQ Icon

Launch VEXcode IQ.

Launch VEXcode

The platform defaults to the Blocks interface.

Select the Code Viewer

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

Code Viewer

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

Screen_Shot_2022-05-18_at_3.53.37_PM.png

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.

Minimize Code Viewer

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

Add a print block

Add a [Print] block to the project.

Print Command View Window

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

C plus plus version

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


How text commands are deleted when blocks are deleted

Remove a Block

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.

Code Removed

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