Reputation: 5929
Is there any shortcut key in Spyder python IDE to indent the code block?
For example, Like ctr+[
in Matlab, I want to indent the code block together.
Upvotes: 16
Views: 87913
Reputation: 904
Select your code and press Tab for indent and Shift+Tab to un-indent.
or go to Edit -> Indent/Unindent
Edit section also contains some other tools for editing your code.
Upvotes: 41
Reputation: 99
Spyder 4 select the lines and then press TAB or CTRL+] For indent and shift+TAB or CTRL+] for un-indent
Upvotes: 0