[Github-comments] [geany/geany] Python3 class code indentation not correct (#1343)

elextr notifications at xxxxx
Mon Dec 19 00:28:27 UTC 2016


Don't mix tabs and spaces.  Don't use tabs at all in Python.  The default python filetype file says spaces, but you can override that by user settings, which you must have done.

To fix your broken file open it, set `Menu->Document->Indent type->spaces` and convert the nasty tabs you already have in the file to spaces `Menu->Document->Convert tabs to spaces`.

If you use other languages with different indentation rules set `Menu->Edit->Preferences->Editor->Indentation->detect type from file` so each will get the right type.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1343#issuecomment-267858611
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161218/7f632e11/attachment.html>


More information about the Github-comments mailing list