90% of the usage of built-in editor (non-scientific estimation) is macro-coding
with py3 as default, should not the default setting for tabs in editor be to "insert spaces" instead of "keep tabs"?
checked with v0.20 and what i think is the actual defaults.
[FR] change of tab default in editor preference
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: [FR] change of tab default in editor preference
Python PEP8 is advising to use 4 spaces, not strictly, as there are excpetions for old code, but is a widespread habits to use 4 spaces as it is more consistent.
Almost all python project I've seen uses 4 spaces for level of indentation.
Another suggestion would be to have a way to open the editor and write new code, now you are forced to open a .py or a .FCMacro file to enter the editor. (or at least I've not found a way yet)
so +1 for me.
Regards
Carlo D.
Almost all python project I've seen uses 4 spaces for level of indentation.
Another suggestion would be to have a way to open the editor and write new code, now you are forced to open a .py or a .FCMacro file to enter the editor. (or at least I've not found a way yet)
so +1 for me.
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/