tabreturn / thonny-py5mode

A py5 plug-in for Thonny
Do What The F*ck You Want To Public License
23 stars 8 forks source link

Consider classpath support feature #39

Open tabreturn opened 2 years ago

tabreturn commented 2 years ago

https://github.com/py5coding/py5generator/discussions/110#discussioncomment-3371249

You can set the environment variable $PY5_JARS to a directory. Any jars in that directory or a subdirectory will be automatically added.

If you are using the run_sketch utility, you can add jars with the --classpath command line argument.

If you are using Thonny, the py5 plugin can be enhanced to support either of these two options if it does not do one of them already.

villares commented 2 years ago

I tried adding the variable to the Thonny options panel but it didn't work for me (but hey, I'm clumsy). One Idea I had would be for a command that would open a folder pre-made for third-party jars and already in the classpath.

tabreturn commented 2 years ago

I think this is because the thonny-py5mode plug-in ignores anything the Program arguments field (which I need to look at).