Removing indent in PYDEV
I am using pydev for python development. I am facing issue while removing indentation for a block of statement.
If I have to add indentation I used to press SHIFT + down arrow key until I reach the end of block of statements which I want to indent and then开发者_JAVA百科 press the TAB key.This is how i used to add indent for a block of statements in one step.
The issue now I am facing is to remove indent in one step for a block of statement.For example I have a for loop and i have a block of statement with in that for loop. Now I dont want to have the for loop any more and want to remove the indent underlying the for loop statement block. At present I am going each line and press backspace to remove that indentation. Is there any easy way to do this for the entire statement block?
I don't know Pydev, but in most editors Shift+Tab will do the trick.
From pydev.org, their page:
Block indent (and dedent) Tab / Shift-Tab
Smart indent (and dedent) Enter / Backspace
精彩评论