Hi, two issues with tabs:
currently, the tab key inserts a tab character (which in the editing widget seems to be equivalent
to 4 spaces).
-
I am a "spaces" guy in the tabs vs spaces flamewar. So I would prefer to have spaces instead of tabs for indenting. Kind of supported also by https://github.com/invenia/BlueStyle .
-
Once this is settled ;) there is the question of the role of the tab key. In emacs (yes, on that side of the emacs-vs-vi debate :) ), the tab key just indents in the right way according to the surrounding code. Super cool for python, but very nice for all languages. Would this be possible here ?
I understand that these are very personal taste preferences, so there may be reasons that in Pluto preferences should be different from mine. But at least it would be good to support some automatic indenting of code. May be it is possible to have a hotkey (like C-m for toggling markdown) which fixes code indenting in a cell.
Hi, two issues with tabs:
currently, the tab key inserts a tab character (which in the editing widget seems to be equivalent
to 4 spaces).
I am a "spaces" guy in the tabs vs spaces flamewar. So I would prefer to have spaces instead of tabs for indenting. Kind of supported also by https://github.com/invenia/BlueStyle .
Once this is settled ;) there is the question of the role of the tab key. In emacs (yes, on that side of the emacs-vs-vi debate :) ), the tab key just indents in the right way according to the surrounding code. Super cool for python, but very nice for all languages. Would this be possible here ?
I understand that these are very personal taste preferences, so there may be reasons that in Pluto preferences should be different from mine. But at least it would be good to support some automatic indenting of code. May be it is possible to have a hotkey (like C-m for toggling markdown) which fixes code indenting in a cell.