How to use vexcode pro on vscode

Our team has been used to programming robots with VEXCode Pro V5, but we now feel that it is not as good as vscode in some aspects, such as the inability to use plugins or the lack of auto-save features.

After doing some research we only found out how to use PROS on vscode, we want to know if there is a way to use vexcode pro v5 on vscode so maybe I can program on linux.

At the moment, I have the .vscode folder configured and I can get all the codes to display properly in vscode, I would like to know how to download programs into the robot brain using only vscode (like PROS on vscode uses commands to download), I now often Use vscode to program and then use vexcode to download, but this is too complicated and can’t be used on linux

I wonder if there is a way to download on vscode, thanks.

The followings are mine. vscode file

c_cpp_properties.json

{
"configurations": [
    {
        "name": "Win32",
        "includePath": [
            "C:\\Program Files (x86)\\VEX Robotics\\VEXcode Pro V5\\sdk\\vexv5\\include",
            "${workspaceFolder}/**"
        ],
        "defines": [
            "_DEBUG",
            "UNICODE",
            "_UNICODE"
        ],
        "compilerPath": "C:\\mingw64\\bin\\gcc.exe",
        "cStandard": "gnu17",
        "cppStandard": "gnu++14",
        "intelliSenseMode": "windows-gcc-x64",
        "compileCommands": "${workspaceFolder}/compile_commands.json"
    }
],
"version": 4
}

settings.json

{
"files.associations": {
    "iterator": "cpp"
}
}
1 Like

You can open the folder in vs code. However, you cant build, upload, use autocomplete or live error track.
To get the folder, go to C:[user]\Documents\vexcode-projects[project_name]
However, I do not recommend this.

@jpearman would it be possible to consider releasing a VEXcode pro CLI to allow usage of coding in VSCode? As it appears that I am not alone with wanting this to be a possibility.

WHOOP and HAZMA7 use VEXCode Pro and find VEXcode sorta limiting on the IDE side, especially considering its lack of github integration. So by creating a CLI, it will allow VEXCode to expand to more competitive teams

3 Likes

Technically you can build outside of VEXcode Pro, you just need to setup environmental variables for the compiler and then pass additional parameters when “make” is called. You would still need to use VEXcode to download to the brain.

However, having said that, perhaps Christmas will come early for you this year, you never know.

15 Likes

I completely agree with your statement, our team is also using github to manage code, I really hope it can use github integration, it is very convenient.

My workaround for now is to use VScode for all editing and just download to brain using vexcode. Although it can be used normally, the operation is very cumbersome.

1 Like

For me I use VEXCode with the github desktop app. Seems to work well for me, although very slow and groggy.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.