Indentation not working Properly
Answered
When I type enter after {} brackets the cursor move to a new line and auto-indent occurs, BUT, when I press the left arrow key the indent should go back by 4 spaces but it goes back only 1 space at a time, that does not happened earlier, but now this problem is there.
Please tell a solution for this problem or a plugin that can solve this problem
Please sign in to leave a comment.
You can try enabling the (Settings/Preferences | Editor | Code Style | Language | Use tab character) checkbox. If the setting doesn't work for your file, try to reformat the code.
As another option, you can move the caret using shortcuts (Ctrl/Cmd | Right/Left arrow).
Thanks a lot...
You are a lifesaver...
The first option worked for me, after reformatting the whole file...