N
N
Nekio2021-11-18 10:40:03
Visual Studio Code
Nekio, 2021-11-18 10:40:03

Is there any extension in VSC that can remove line spaces?

Here, for example, you need to delete lines 16, 17, 18 when saving or using a key combination, since they are empty. Tell me, is there such an extension in vsc?

619602e62647d181958005.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Collin, 2021-11-18
@QuayS1de

You need a linter and a code formatting tool. For example, there is a great linter for JS - ESLint JavaScript into VS Code. , and for general formatting Prettier - Code formatter
Both linter and formatting tools are flexibly configured. Read the descriptions of the extensions, everything is described there as well as what.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question