I know that for Java when you install the WPILib plugins it creates a folder called “wpilib” in your home directory. Inside “wpilib/java/current/lib” you will find WPILib-Sources.jar. You can open that jar file and find the source code. I am not familiar with C++ but its probably also in the wpilib folder.
You have to clone it through git. There doesn’t seem to be a way to download it directly from WPI without cloning. However RobotPy’s github clone does have a download zip button, the direct link for which can be found here. https://github.com/robotpy/allwpilib/archive/master.zip
What is unclear? If you let us know what confused you, we can update wordings. As Thad said, however, we don’t offer direct zip downloads. You have to clone the repo, or go to one of the unofficial repos on Github and download from them. While I can’t vouch for how up to date they are (my own clone is several commits behind), I imagine the Python mirror is synced regularly.
If you download the eclipse plugin jar from the eclipse repository, you can extract the contents of the jar and all the files are in the resources/java.zip/lib folder (or resources/cpp.zip for C++).
Edit: looks like there’s an online code view here.
The RobotPy repo is automatically synchronized (and is a pure mirror – no robotpy specific changes), so it’ll stay up to date. I personally find it much easier to deal with github than collab.net – collab.net is terrible in so many ways, and I’m surprised FIRST is still using it.
To clone any git repo, you need to download+install git. Once you’ve got that taken care of, you go to some directory and from the command line do:
git clone https://github.com/robotpy/allwpilib
Alternatively, if you want to clone the “real” repo from collab.net (it’s going to be slower to access than github)… you can do this:
Oops… That’s a showstopper right there. I never install anything on my primary-use computer without first giving it a good wringing-out on my guinea-pig machine - which is presently in use for other purposes.
I will add it to my long list of fun things to look into though