JAR Template setup issues

Hi there, I’m trying to install the JAR template to do some testing to see if we could benefit from it. I downloaded the zip file and expressed it.

After opening with the VEX Robotics extention on Visual Studio Code, I ran into a bunch of immediate problems. Here they are:




Not exactly sure what is going on here. I’m very confused and tempted to just stick with what I have instead of spending time figuring this out.

My experience with similar errors is that this is usually caused by opening the wrong parent folder and the vex extension not recognizing it as a project. Are you sure you are opening the correct folder?

So I downloaded the zip:

I then got the folder from it:
Screen Shot 2023-11-03 at 1.59.46 PM

Here are the contents:

It probably isn’t a big deal. Does the code compile and run?

You know… I haven’t tried that yet haha. I have a mechatronics class next period that I can test it in. I’ll let you know.

Just to preface this, I’ve never used the vex robotics extension on vs code, ive always used pros. I hit command B (thats what my sister team said to do) and nothing happened at all. It didn’t download.

Did you open the folder directly, or use the import feature of the extension? You need to use the import button and click on the .v5code file for it to work.

I always just go to file>open folder and then I click on the folder and hit open.

You need to click on the vex extension in the sidebar and click import project.

I was able to build once but after putting in motors it won’t build and I’m running into this-

(this is just copied from last year lol I dont have an endgame)




Same issue. It seems like anything involved with the v5 system or “vex” in general is broken in this code.

Here’s more-

Do you have clangd installed or the Microsoft C/C++ extension? PROS uses clangd but the vex vscode extension uses the Microsoft one. If you want to use clangd with the vex vscode extension you will need to create your own configuration file so I recommend just uninstalling clang and using the Microsoft extension instead.

So there’s no way to use pros and vex simultaneously? I would have to choose?

I just don’t want to have to uninstall multiple things just to run one or the other.

I just left the lab but am going back in a bit so I’ll try some of your recommendations and let you know.

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