Competition Template is not one of the available templates in VS Code for Python

In VS Code, there are templates for Python, but only a few and the competition template doesn’t seem to be one of them. i was able to import, but now running into import errors.

it would be great if the Competition Template was available in VS Code without having to import and fix the errors.

i tried to enter a comment/issue for this, but i got an error on the comment and issue submission tool in VS Code.

I’ve been happy enough with VexCode as a learning environment for students, but lack of support for any sort of source control is too much of a problem for competition teams. :slight_smile:

It does need to be added, but also sort of trivial.

def autonomous():
    # some auton code
    pass


def usercontrol():
    while True:
        wait(20, MSEC)

comp = Competition(usercontrol, autonomous)

2 Likes

I’ll add a python competition template in the next vex extension release.

What error notification did you see when submitting feedback?

1 Like