thonny-py5mode icon indicating copy to clipboard operation
thonny-py5mode copied to clipboard

pyde extension support

Open kemelzaidan opened this issue 3 years ago • 2 comments

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.

kemelzaidan avatar Nov 13 '22 00:11 kemelzaidan

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

tabreturn avatar Nov 13 '22 20:11 tabreturn

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?

villares avatar Jul 21 '24 17:07 villares

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

Let's wait and see now...

kemelzaidan avatar Sep 05 '24 14:09 kemelzaidan

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 avatar Sep 05 '24 14:09 villares

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

villares avatar Sep 05 '24 15:09 villares