How to make minified JavaScript files easier to read in VS Code

Опубликовано: 30 Январь 2023
на канале: Mizouzie
826
19

When working with generated JavaScript files, it is common to come across single line files that look like a jumbled mess at first glance.

How are you going to find the function you are after inside all that?

With a few simple default keyboard shortcuts in VS Code, we can split the single line over multiple lines and then format the file to have more sensible indentation. This will make it much easier to read and you can then figure out exactly what your JavaScript is doing on your webpage.


Смотрите видео How to make minified JavaScript files easier to read in VS Code онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Mizouzie 30 Январь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 826 раз и оно понравилось 19 людям.