Replace Tab key with four spaces

When copying code from IDEA or elsewhere, there are some code formats. At this time I need to modify the indentation.

But when I used Shift Tab to indent, I found it had no effect. And I use Tab indentation, which cannot be replaced with four spaces.

In addition, I hope that the code block does not wrap automatically, so I can use the horizontal scroll bar to view it.

I’d say that is quite specific need. There are languages which have 2 spaces indentation. Especially one markup language (YAML). There are also languages which use tabs for indentation like Go. So you’ll never satisfy everyone with a default here.

2 Likes