* Formats the code in the editor
()
| 193 | */ |
| 194 | |
| 195 | format() { |
| 196 | if (this.data !== null) { |
| 197 | const beautified = beautify(this.editor.getValue(), this.formatOptions) |
| 198 | this.editor.setValue(beautified) |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | /** |
| 203 | * Minifies the code in the editor |
no test coverage detected