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

pyde extension support #43

Closed kemelzaidan closed 1 day ago

kemelzaidan commented 1 year ago

I realized that Thonny doesn't recognize the syntax when opening a file with .pyde extension. It would be awesome if the extension supports opening pyde files since this is the default extension used be the Processing IDE when saving python sketches.

tabreturn commented 1 year ago

Thanks @kemelzaidan -- this was something I was thinking about. I'll add it to my to-do list 👍

villares commented 1 month ago

Cheers @kemelzaidan !

Would you like to propose a PR for this? Thonny has a set of valid "Python Extensions" that would have to be extended by the plug-in. https://github.com/thonny/thonny/blob/f313dac04032d659d1daccda98f4cd9efcea7704/thonny/editors.py#L41

I see the utility of being able to open .pyde files on Thonny as I migrate and convert old Processing Python Mode sketches to py5, but, on the other hand, is it worth the trouble?

kemelzaidan commented 1 day ago

@villares took me forever, but I finally did it... https://github.com/thonny/thonny/pull/3303.

Let's wait and see now...

villares commented 1 day ago

Cool! But I urge you to abandon all further work on Processing Python mode, that has no active maintainer, doesn't work with Processing 4 or Python 3 and join our efforts to improve the py5 tool-chain :) https://github.com/py5coding/py5generator

villares commented 1 day ago

As the issue became a Thonny PR, I think we can safely close this!