Using the Code Viewer - Python Tutorials

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

Launch VEXcode V5.

VEXcode V5 Icon

The platform defaults to the Blocks interface.

V5 Blocks interface

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

code viewer icon

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

Code viewer callout

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

close codeviewer

How text commands are added when blocks are added.

Add a [Print] block to the project.

print hello

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

open code viewer

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

added to window

How text commands are deleted when blocks are deleted

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

Delete print block

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

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

deleted code