A
A
Artyom2021-10-10 12:18:49
Visual Studio Code
Artyom, 2021-10-10 12:18:49

How to change indentation when inserting code?

I'm using Manjaro Linux
Switching from the Atom editor to Visual Studio Code, as atom often crashes for me.
In Atom, when inserting a block of code, the missing ones are automatically added, or extra indents / spaces are removed.

For me, when inserting several lines, I have to add or remove indents ...
This is noticed only in .php files. For example, pasting into .json works fine ...

There are formatting options in the settings: format on paste, but this is either not what I need, or it does not work.
Please tell me the solution

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artyom, 2021-10-11
@RizyaRU

I solved the problem by installing this add-on
https://marketplace.visualstudio.com/items?itemNam...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question