Configurable indentation in Python editor?

Is it possible to change the automatic indentation in the Python script editor in SeaTable Cloud to something other than 2 spaces? If not, I suggest adding a per-base setting for this.

I would like the style in our project to be consistent with the Python code we have outside SeaTable, which would make it easier to cut and paste code snippets from other scripts.

Hi @lir-ht, and welcome to the SeaTable forum!
This feature is currently not supported. At least, you can use double tab in the editor to get 4 spaces (instead of two) which is usually more Python-compliant (Okay, I admit it, it’s actually not a trick at all :sweat_smile:).
What I usually do is editing my script in my current code editor (which allows me to see at the same time my base with all the tables’ and column’s names) and then just copy/paste the code in the SeaTable script editor.
About adding this feature, please feel free to submit a feature request on ideas.seatable.com

Bests,
Benjamin

Thanks for confirming. I submitted the idea here.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.