Using the Code Viewer for Python in VEXcode V5

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

The following article will cover:

  • How to open the Code Viewer
  • How text commands are added when blocks are added
  • How text commands are deleted when blocks are deleted

How to open the code viewer

VEXcode V5 Icon

Launch VEXcode V5.

V5 Blocks interface

The platform defaults to the Blocks interface.

code viewer icon

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

Code viewer callout

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

close codeviewer

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.

print hello

Add a [Print] block to the project.

open code viewer

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

added to window

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


How text commands are deleted when blocks are deleted

Delete print 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 Knowledge Base.

deleted code

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