2 ms·
Editors have nothing to do with this. You have dirty coders everywhere on the net. Having to edit a bit a code you copy paste from an badly formatted source (w
by sametmax 9y ago
Editors have nothing to do with this. You have dirty coders everywhere on the net.
Having to edit a bit a code you copy paste from an badly formatted source (which you should do anyway for safety) is a small price to pay to avoid all the dirty coders in the world to write blocks with a showel.
- pmontra 9y agoIt's not from a badly formatted source: it's my well formatted working code. I just did it a couple of minutes ago: I added an indentation level into a function and went TAB, ARROW DOWN through 10 lines of codes in emacs. There was a try except in that code and I had to pay attention to the line after the end of the except block. I know that I should select the region and do C-c > to move it one level to the right, but it's not convenient. In any other language the editor indents it with one keystroke (actually it's 3 keystrokes: C-M-\ because it's emacs...) That's why TAB, ARROW DOWN is faster, when it doesn't add bugs.
- sametmax 9y agoWhy is everything so compliated in emacs ? Sublime text, pycharm and vscode all handle that fine automatically.