JetBrains develops IDEs (integrated development environments), e.g. for Java, JavaScript, PHP, ...
Recommendation: Install the JetBrains Toolbox which can be used to install / upgrade IDEs
command for automatic code formatting: Ctrl + Alt + L
can be configured to run on every save
optional for JavaScript formatting: install the prettier formatter via npm and enable it in the settings