Using the VEXcode IQ C++ Autocomplete Feature

Using the C++ Autocomplete feature while creating a C++ project in VEXcode IQ can help save time and prevent errors when typing commands.


How to Use the C++ Autocomplete Feature

Note: This project uses the Clawbot (Drivetrain, 2-motor) template.

Icon representing the Clawbot drivetrain configuration with 2 motors, related to VEX IQ Robotics platform tutorials and resources for educators and students.

Begin typing to open the selection menu.

Screenshot of a dropdown selection menu in VEXcode IQ, displaying options for programming settings related to VEX IQ robotics projects, as part of C++ tutorials for educational robotics.

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

Keyboard shortcut illustration showing the 'Control' and 'Space' keys, used in C++ programming tutorials for VEX IQ Robotics, emphasizing coding techniques for educational robotics projects.

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

Make a Selection with the C++ Autocomplete Feature

Screenshot illustrating the selection process in VEXcode IQ programming, showcasing options for configuring robot settings and features, relevant to C++ tutorials for VEX IQ Robotics.

Press “Enter/Return” or “Tab” on your keyboard or select the command with your cursor 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 cursor to scroll up and down in the Autocomplete menu. Then make the desired selection.

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

Screenshot illustrating the use of the 'period' symbol in C++ programming, relevant to VEX IQ robotics tutorials, highlighting syntax and coding practices for beginners.

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

Make a Selection by Using One of the Following Options

Screenshot illustrating the selection process in VEXcode IQ programming, showcasing options for configuring robot settings and features, relevant to C++ tutorials for VEX IQ Robotics.

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.

Select with your cursor on the desired command.

Add Parameters

Screenshot of a C++ programming tutorial for VEX IQ Robotics, illustrating code for driving a robot forward, with highlighted syntax and comments for educational purposes.

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

Diagram illustrating the forward movement of a VEX IQ robot in inches, used in C++ tutorials for programming and controlling VEX IQ robotics projects.

Some commands require multiple parameters. Use a comma to separate different parameters in the same command.

Diagram illustrating optional parameters in C++ programming for VEX IQ Robotics, showcasing how to enhance functionality in coding for educational robotics projects.

Some parameters are optional, such as the true in the following example. For more information about parameters, view the command’s Help information to determine which parameters are needed, and which are optional.

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

Last Updated: