is there a way to reconfigure the auto indent? 10 chars is a excessive, irritating, and counter-productive. 2-4 chars is the standard and this should be the default from the get go.
Hi, welcome to the forum! I see your frustration but let’s calm down a bit as this is a community.
Could you tell us what editor you are talking about? Processing IDE seems to have 2 characters (whitespaces) by default…
ok you are not frustrated, but however you feel, please be nice and respect others because Processing is made and maintained by volunteers and this forum is not a customer service.
what you wrote in the screenshot is not a code and that may be the reason that it’s not indented in a correct way. Also it shows the python mode - do you code with processing.py?
Processing IDE is not really customizable and if I need to customize it I use VSCode with a plugin but not sure if it works in python mode.
I too have the issue with processing.py, when I use tab, it just indents like 50 characters. It’s one of the reasons why I don’t code in .py mode anymore
actually:
there is a preference dialog in File | preferences.
There you don’t find anything for indents.
BUT you can load the the preferences.txt file from there by double clicking it in the dialog. Edit it when processing is NOT OPEN (so close dialog and processing now).
Here you want to change:
editor.tabs.size=4
Then save txt file and start processing.
I tested it with java mode, dunno about py mode though
Chrisir
thanks guys. we’ve decided to drop Processing entirely as this is more of a toy than a tool as far as what we were looking for. that may not be the case for Java, but for Python, definitely. it was also far too confusing when trying to discuss actual processing without having to include a differentiation as to what we were talking about. coding is challenging enough without having to introduce that verbal tap-dance.
Hi @iansebryk ,
Please note that Processing is an open source software and therefore it can have bugs and things that don’t work as many other softwares.
What is different is that here, some people are contributing for free to the project in their free time and you should be tolerant over how some features might work or not
The code is hosted on GitHub so feel free to check it out and open an issue :