vscode-wpilib icon indicating copy to clipboard operation
vscode-wpilib copied to clipboard

Start adding python support

Open ThadHouse opened this issue 2 years ago • 5 comments
trafficstars

This is just the basic start, and only a code deployer to start with (and one that doesn't deploy at that, as I don't know the command)

ThadHouse avatar Sep 29 '23 01:09 ThadHouse

https://robotpy.readthedocs.io/en/stable/guide/deploy.html

sciencewhiz avatar Sep 29 '23 01:09 sciencewhiz

Does Java/C++ have remote debugging? Someone wrote some vscode tasks for Python that can do that too.

virtuald avatar Dec 22 '23 02:12 virtuald

Does Java/C++ have remote debugging? Someone wrote some vscode tasks for Python that can do that too.

They do. I just didn't get that part copied over yet.

ThadHouse avatar Dec 22 '23 02:12 ThadHouse

Ok. Someone posted their debugging setup at https://github.com/robotpy/mostrobotpy/issues/49, I think it makes sense to use that. We'd need to add something to the deploy to load the debug stuff, but that shouldn't be so bad.

virtuald avatar Dec 22 '23 03:12 virtuald

New deploy workflow is posted on frc docs:

  • https://docs.wpilib.org/en/stable/docs/zero-to-robot/step-2/python-setup.html
  • https://docs.wpilib.org/en/stable/docs/software/python/subcommands/deploy.html
  • https://docs.wpilib.org/en/stable/docs/software/python/pyproject_toml.html

virtuald avatar Jan 09 '24 23:01 virtuald