I have the following HTML:
The problem is that when I add type=""
everything formats to the same line of code like the image below.
CodePudding user response:
Have you tried the combination: Alt Shift F ?
CodePudding user response:
You can add the plugin "prettier" to VSCode to format the code easily. It will auto format your code on save. You can also change the default style configurations if only needed. Please checkout following link. https://www.codereadability.com/automated-code-formatting-with-prettier/#:~:text=Install the Prettier VS Code,once the installation is complete.