Using the Code Viewer for C++ 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

VEXcodeV5-icon.jpg

Launch VEXcode V5.

2020-11-24_12-55-44.jpg

The platform defaults to the Blocks interface.

2020-11-24_12-59-57.jpg

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

2020-11-24_13-16-07y.jpg

The Code Viewer window defaults to the Python version of the blocks project. Select the C++ option.

2020-11-24_13-06-45a.jpg

The Code Viewer window will then display the C++ version of the blocks project.

2020-11-24_13-11-12.jpg

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

2020-11-24_13-25-07c.jpg

Add a [Print] block to the project.

2020-11-24_13-25-07cmv.jpg

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

2020-11-24_13-45-09me.jpg

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


How text commands are deleted when blocks are deleted

2020-11-24_13-49-10nx.jpg

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

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

2020-11-24_13-52-45z.jpg

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