Answer the question
In order to leave comments, you need to log in
How to force Visual Studio Code to format selected block CSS, LESS, SASS, Javascript?
Literally the basic functionality of the VS Code editor is required: to be able to align and comb the code in the selected block, but after 2 days of searching, I still could not achieve this with any extensions. Installed ESLint - it only works with Javascript. Put stylefmt , - when selecting any block that is not completed with brackets, instead of formatting, it displays the error "CssSyntaxError", which completely kills the work. Put styleint and Pretiier, they gave nothing at all: when I try to format a block of code, I get a message: "the formatter for less files is not installed." Is there any adequately working formatter for the main popular files (js, less, scss, css) for front-end development to install and use?
Answer the question
In order to leave comments, you need to log in
beautify: https://marketplace.visualstudio.com/items?itemNam...
everything works for me as it should
I understand that the issue has already been resolved. But I'm wondering if the standard vsc functionality will help you with this task? Here you need to check the box.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question