EJS
Atom Grammars: HTML (Angular), JavaScript Template
File Patterns: **/*.ejs
Supported Beautifiers
| Beautifier | Options | Downloads | Stars | Issues |
|---|---|---|---|---|
| JS-Beautify | 17 | |||
| Pretty Diff | 11 |
Options
| # | Option | JS-Beautify | Pretty Diff |
|---|---|---|---|
| 1 | Align Assignments | ❌ | ✅ |
| 2 | Brace Style | ✅ | ❌ |
| 3 | Break Chained Methods | ✅ | ✅ |
| 4 | Comma First | ✅ | ❌ |
| 5 | End With Comma | ❌ | ✅ |
| 6 | End With Newline | ✅ | ❌ |
| 7 | Indent Chained Methods | ✅ | ❌ |
| 8 | Indent Comments | ❌ | ✅ |
| 9 | Indent Size | ✅ | ✅ |
| 10 | Indent Style | ✅ | ✅ |
| 11 | JSLint Happy | ✅ | ❌ |
| 12 | Keep Array Indentation | ✅ | ❌ |
| 13 | Max Preserve Newlines | ✅ | ✅ |
| 14 | Multiline Ternary | ❌ | ✅ |
| 15 | Preserve Newlines | ✅ | ❌ |
| 16 | Quotes | ❌ | ✅ |
| 17 | Space After Anon Function | ✅ | ✅ |
| 18 | Space Before Conditional | ✅ | ❌ |
| 19 | Space In Empty Paren | ✅ | ❌ |
| 20 | Space In Paren | ✅ | ❌ |
| 21 | Unescape Strings | ✅ | ❌ |
| 22 | Wrap Line Length | ✅ | ✅ |