sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #06164
Re: [Question #174609]: X-1.0rc3: IDE: Indentation issue with rc2 script --- set tab-width in Preferences
Question #174609 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/174609
Parva Thakkar posted a new comment:
I apologize, I probably couldn't explain the problem thoroughly.
Yes, I understand it and 'tab to spaces' of 4 spaces is perfectly okay.
But the issue is even with tab/shift-tab or preference set, your column
number remains 5 as opposed to 2 in prior version. If you change 'tab to
spaces' to 1, then visual indentation looks bad like -
if (x == 1):
abc
xyz
even though they look bad visually, they have the same column number and thus perfectly okay indented for Python.
line 'abc' is with newer IDE
line 'xyz' is with older IDE
So, any script written in prior IDE with condition is very difficult to
edit. I understand this is something which cannot be solved. But, I
recommend adding this in some FAQ page for the newer IDE.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.