Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Is there a way to set a full custom rule for prettier code formatter?
For example, if you don’t like this CSS coding style:
Body { color: red; }
But you like it that way:
Body { color:red; }
No space after : and a new line for { and }
Or in HTML prettier removes new lines after opening a DIV like:
<div> <p>My paragraph Text</p> <p>My paragraph Text</p> </div>
But I would not remove my custom new lines like:
<div>
<p>My paragraph Text</p>
<p>My paragraph Text</p>
</div>
Prettier makes the Code like this:
<div> <p>My paragraph Text</p>
<p>My paragraph Text</p> </div>
In between, prettier “allows” new lines. But inside something like a DIV, the first and last element “touch” the opening and ending DIV. So basically for HTML I would like to disable the deletion of new blank lines.
Is there a way to create a “coding style template” for each language so that prettier follow that “rules”?!
Or is there an other extension to do that?
Every company have their own “coding style”. 90% is the same, but some small things are different.
For example 4 new blank lines, after each Function to separate them better from each other. But if those lines get removed, you can’t use prettier…
So basically I (we) search for a full customization Coding style (formatter) Extension for VSCode.
Thanks for reading, and sry for the long text.
Best wishes, and stay healthy. Benjamin Schäfer
22c-proxima
b31f4b8dd56841b89a8cd51932c7cd
danley832@gmail.com
George Chanturidze
duganns
duganns
duganns
duganns
alexdo
Bobby
Bobby