Drop support for Thonny 3.x.x import layout
Is thonny-py5mode expected to run on older Thonny versions like 3, given Thonny 5 is on the making? https://github.com/thonny/thonny/releases/tag/v5.0.0a2
I'd like to drop these kinda try/except import blocks in order to simplify and eliminate type hint lint warnings:
https://github.com/py5coding/thonny-py5mode/blob/0.4.6-alpha/thonnycontrib/backend/py5_imported_mode_backend.py#L12-L26
https://github.com/py5coding/thonny-py5mode/pull/14
The last 3.x.x Thonny release was in August of 2021.
https://github.com/thonny/thonny/releases/tag/v3.3.14
I think we can safely forget about 3.x.x.
What exactly does file "py5_imported_mode_backend.py" do? Is it supposed to add auto-completion for py5 + Processing API? B/c it doesn't seem to work for me. Only Python stuff is offered completion! The changes I made to that file didn't work either.
What exactly does file "py5_imported_mode_backend.py" do?
I think it adds special syntax coloring to the py5 vocabulary.
I think it adds special syntax coloring tho the py5 vocabulary.
For some reason I thought it was about typing auto-completion! 🤦♂️
But in order to check if it's actually doing syntax coloring, I've typed nonsense wrong syntax inside "py5_imported_mode_backend.py".
Thonny warned me this:
Warning: Failed loading plugin thonnycontrib.backend.py5_imported_mode_backend. See backend.log for more info.
But somehow, py5 syntax coloring was still working!!! 😮
Also, I could still run the sketch even w/ that red crash warning! 🤔
I'm suspicious "py5_imported_mode_backend.py" isn't doing anything at all! 🕵️