Using the Autocomplete Feature in a VEXcode VR Python Project

Using the Autocomplete functionality while creating a Python project in VEXcode VR can help save time and prevent errors while typing commands.


How to Use Autocomplete

Step 1: Begin typing to open the selection menu.

Screenshot of the selection menu in VEXcode VR, showcasing options for coding projects and tutorials within the online programming environment designed for learning coding concepts through virtual robotics.

The device or command name will appear in a drop-down selection menu.

Screenshot of VEXcode VR command list, displaying various programming blocks and commands available for users in the online coding environment, designed for educational purposes in STEM learning.

To access a list of the possible commands available using the Autocomplete function, press Control + Space (on Windows, macOS, and Chrome OS).

Step 2: Make a Selection with the AutoComplete

Diagram of a VEXcode VR drivetrain, illustrating the components and layout of a virtual robot's drive system, used for educational purposes in coding and robotics tutorials.

Press “Enter/Return” or “Tab” on your keyboard or left click on the command with your mouse to make a selection.

Note that with longer selection menus, you can make a selection using one of the following options:

  • Use your “Up” and “Down” keys to select the name you want, then press “Tab” or (Enter/Return) on your keyboard to make the selection.
  • Use your mouse to scroll up and down in the Autocomplete menu. Then left click on the desired selection.

Step 3: Add a Dot Operator to List all the Commands Available to that Device

Screenshot of VEXcode VR interface showing the newly added dot operator feature in a block-based coding environment, designed for teaching coding concepts through virtual robotics.

Adding a dot operator (a period, “.”) will open a new menu of all commands available to the device.

Step 4: Make a Selection by Using One of the Following Options

Screenshot of the VEXcode VR interface showing the 'Choose Command' block, illustrating the block-based coding options available for programming a virtual robot in the tutorials section.
  • Use the “Up” and “Down” buttons on your keyboard to navigate the menu and then press “Return" on Mac, “Enter" on Windows or Chromebook to make a selection.
  • Left click with your mouse on the desired command.

Step 5: Add Parameters

Screenshot of VEXcode VR tutorial showing the 'Drive Forward' command block, illustrating how to program a virtual robot to move forward, designed for educational purposes in coding and robotics.

Parameters are the options that are passed to the command between the parenthesis.

Screenshot showing the process of adding measurement units in VEXcode VR, illustrating options for millimeters and inches within the coding interface. This image supports a tutorial on using VEXcode VR for educational purposes in coding and robotics.

Some commands require multiple parameters be set. Add a comma after a parameter to add another parameter.

Screenshot of a completed VEXcode VR programming command, showcasing a block-based coding interface with various coding blocks arranged to control a virtual robot, illustrating the tutorial for coding in the VEXcode VR environment.

Once all parameters have been added to the command, the command is complete!

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

Last Updated: