Atom does not have a built-in command for formatting html. However, you can install the atom-beautify package to get this behavior. Press CTRL + SHFT + P to bring up the command palette ( CMD + SHFT + P on a Mac). Type Install Packages to bring up the package manager.
Which is better Vscode or Atom?
Visual Studio Code and Atom, both being Electron-based applications give a good user experience but when it comes to comparison, Visual Studio Code leaps ahead. Visual Studio Code has a greater number of built-in features that Atom provides through extensions and third-party applications.
How do I configure Atom beautify?
How to Configure
- You can open the Settings View by navigating to Edit > Preferences (Linux), Atom > Preferences (OS X), or File > Preferences (Windows).
- Go into Packages and search for "Atom Beautify" package.
- Find the option "Beautify Entire File On Save" and change it to your desired configuration.