Adding Indentation To Multiple Lines At Once In Python's Idle
I have written many lines of code already, and have now changed my mind on their indentation. (I want to put all of these lines into a 'while' loop.) For each line, I could press t
Solution 1:
In Sublime Text, highlight text and press TAB (or SHIFT+TAB to do the opposite i.e. remove one level of indentation). This will do the same as adding a tab at the beginning of every line.
These shortcuts is the same in several other text editors, e.g. Notepad++, Eclipse and even Word.
Other editors may use different/additional shortcuts e.g. in CTL+] or CTL+[) in IDLE (and Sublime Text).
Post a Comment for "Adding Indentation To Multiple Lines At Once In Python's Idle"