Glavin001 / atom-beautify

:mega: Help Wanted - Looking for Maintainer: https://github.com/Glavin001/atom-beautify/issues/2572 | :lipstick: Universal beautification package for Atom editor (:warning: Currently migrating to https://github.com/Unibeautify/ and have very limited bandwidth for Atom-Beautify Issues. Thank you for your patience and understanding :heart: )
http://unibeautify.com/
MIT License
1.5k stars 454 forks source link

No longer works for HTML (Angular JS) files #350

Closed smlombardi closed 9 years ago

smlombardi commented 9 years ago

As of version .200, it ceased to work. Worked earlier today with .199

Gives message:

Atom Beautify could not find a supported beautifier for this file

Atom Beautify could not determine a supported beautifier to handle this file with grammar "HTML (Angular)" and extension ".html". If you would like to request support for this file and it's language, please create an issue for Atom Beautify at https://github.com/Glavin001/atom-beautify/issues
Glavin001 commented 9 years ago

Please run command Atom Beautify - Help Debug Editor.

mattwillms commented 9 years ago

Jumping in on this. I have the same issue.

Here's the output of running debug (minus source code):

http://pastebin.com/raw.php?i=CnNnzrQE

smlombardi commented 9 years ago

Atom Beautify - Debugging information

The following debugging information was generated by Atom Beautify on Wed May 20 2015 11:10:04 GMT-0400 (EDT).


Platform: darwin

Versions

Atom Version: 0.200.0

Atom Beautify Version: 0.27.2

Original file to be beautified

Original File Path: /Users/stevelombardi/Documents/Fireball/app/modules/dashboard/templates/dashboard.html

Original File Grammar: HTML (Angular)

Original File Contents:

<div class="container-fluid">

  <div class="row spacer-top-lg">
    <div class="col-md-10">
      <h1 style="margin-top: 0;">Tracking Home</h1>
    </div>
    <div class="col-md-2 text-right">
      <a href="">New search</a>
    </div>
  </div>

  <div class="row spacer-top-lg spacer-bottom-lg">
    <div class="col-md-4">
        <div class="form-group">
          <label for="search">Tracking number</label>
          <div class="input-group input-group-separate">
            <input type="text" name="search" class="form-control"
placeholder="Scan or enter the carrier tracking number">
            <span class="input-group-btn">
              <button class="btn btn-default" type="button">
                <i class="fa fa-2x fa-info-circle"></i>
              </button>
            </span>
          </div>
          <span class="help-block">Enter a number to start tracking your
package details</span>
        </div>
    </div>
    <div class="col-md-4">

    </div>
  </div>

  <div class="row">
    <div class="col-md-8">
      <div class="panel panel-default">
        <div class="panel-heading">
          Recent packages
        </div>
        <table class="table">
          <thead>
            <tr>
              <th>Received</th>
              <th>Addressee</th>
              <th>Package Tracking #</th>
            </tr>
          </thead>
          <tbody>
            <tr ng-repeat="package in dashboard.recentPackages">
              <td>{{package.received}}</td>
              <td>{{package.addressee}}</td>
              <td>{{package.tracking}}</td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
  </div>
  <div class="row">
    <div class="col-md-4">
      <div class="panel panel-default">
        <div class="panel-heading">
          Widget #2
        </div>
        <div class="panel-body">
          <img src="http://placehold.it/350x250" class="img-responsive" />
        </div>

      </div>
    </div>
    <div class="col-md-4">
      <div class="panel panel-default">
        <div class="panel-heading">
        Widget #3
        </div>
        <div class="panel-body">
          <tabset>
            <tab heading="Tab 1">
              Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quo
facere, laborum excepturi totam ab quis aspernatur saepe vel dicta quod.
Laudantium, ipsam voluptate sed, adipisci quis eveniet consectetur beatae
corrupti!
            </tab>
            <tab heading="Tab 2">
              Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quo
facere, laborum excepturi totam ab quis aspernatur saepe vel dicta quod.
Laudantium, ipsam voluptate sed, adipisci quis eveniet consectetur beatae
corrupti!
            </tab>

          </tabset>
        </div>
      </div>
    </div>
  </div>

</div>

Beautification options

Editor Options: Options from Atom Editor settings

{
    "_default": {
        "indent_size": 2,
        "indent_char": " ",
        "indent_with_tabs": false
    }
}

Config Options: Options from Atom Beautify package settings

{
    "css": {
        "preserve_newlines": true,
        "indent_size": 2,
        "indent_char": " ",
        "selector_separator_newline": false,
        "newline_between_rules": false
    },
    "js": {
        "end_with_newline": true,
        "indent_size": 2,
        "indent_char": " ",
        "indent_level": 0,
        "indent_with_tabs": false,
        "preserve_newlines": true,
        "max_preserve_newlines": 10,
        "space_in_paren": false,
        "jslint_happy": false,
        "space_after_anon_function": false,
        "brace_style": "collapse",
        "break_chained_methods": false,
        "keep_array_indentation": false,
        "keep_function_indentation": false,
        "space_before_conditional": true,
        "eval_code": false,
        "unescape_strings": false,
        "wrap_line_length": 0
    },
    "cs": {
        "configPath": ""
    },
    "c": {
        "configPath": ""
    },
    "cpp": {
        "configPath": ""
    },
    "d": {
        "configPath": ""
    },
    "html": {
        "indent_inner_html": false,
        "indent_size": 2,
        "indent_char": " ",
        "brace_style": "collapse",
        "indent_scripts": "normal",
        "wrap_line_length": 250,
        "wrap_attributes": "auto",
        "wrap_attributes_indent_size": 2,
        "preserve_newlines": true,
        "max_preserve_newlines": 10,
        "unformatted": [
            "a",
            "sub",
            "sup",
            "b",
            "i",
            "u"
        ],
        "end_with_newline": false
    },
    "java": {
        "configPath": ""
    },
    "objectivec": {
        "configPath": ""
    },
    "pawn": {
        "configPath": ""
    },
    "perl": {
        "perltidy_profile": ""
    },
    "php": {
        "fixers": "",
        "level": ""
    },
    "python": {
        "max_line_length": 79,
        "indent_size": 2,
        "ignore": [
            "E24"
        ]
    },
    "sql": {
        "indent_size": 2,
        "keywords": "upper",
        "identifiers": "lower"
    },
    "vala": {
        "configPath": ""
    }
}

Home Options: Options from /Users/stevelombardi/.jsbeautifyrc

{
    "_default": {
        "html": {
            "allowed_file_extensions": [
                "htm",
                "html",
                "xhtml",
                "shtml",
                "xml",
                "svg"
            ],
            "brace_style": "collapse",
            "end_with_newline": true,
            "indent_char": " ",
            "indent_handlebars": false,
            "indent_inner_html": false,
            "indent_scripts": "keep",
            "indent_size": 2,
            "max_preserve_newlines": 0,
            "preserve_newlines": true,
            "unformatted": [
                "a",
                "span",
                "img",
                "code",
                "pre",
                "sub",
                "sup",
                "em",
                "strong",
                "b",
                "i",
                "u",
                "strike",
                "big",
                "small",
                "pre",
                "h1",
                "h2",
                "h3",
                "h4",
                "h5",
                "h6"
            ],
            "wrap_line_length": 0
        },
        "css": {
            "allowed_file_extensions": [
                "css",
                "scss",
                "sass",
                "less"
            ],
            "end_with_newline": true,
            "indent_char": " ",
            "indent_size": 2,
            "newline_between_rules": true,
            "selector_separator": " ",
            "selector_separator_newline": true
        },
        "js": {
            "allowed_file_extensions": [
                "js",
                "json",
                "jshintrc",
                "jsbeautifyrc"
            ],
            "brace_style": "collapse",
            "break_chained_methods": false,
            "e4x": false,
            "end_with_newline": false,
            "indent_char": " ",
            "indent_level": 0,
            "indent_size": 2,
            "indent_with_tabs": false,
            "jslint_happy": false,
            "keep_array_indentation": false,
            "keep_function_indentation": false,
            "max_preserve_newlines": 0,
            "preserve_newlines": true,
            "space_after_anon_function": false,
            "space_before_conditional": true,
            "space_in_empty_paren": false,
            "space_in_paren": false,
            "unescape_strings": false,
            "wrap_line_length": 0
        }
    }
}

EditorConfig Options: Options from EditorConfig file

{
    "isFulfilled": false,
    "isRejected": false
}

Project Options: Options from .jsbeautifyrc files starting from directory /Users/stevelombardi/Documents/Fireball/app/modules/dashboard/templates and going up to root

[
    {
        "html": {
            "allowed_file_extensions": [
                "htm",
                "html",
                "xhtml",
                "shtml",
                "xml",
                "svg"
            ],
            "brace_style": "collapse",
            "end_with_newline": true,
            "indent_char": " ",
            "indent_handlebars": false,
            "indent_inner_html": false,
            "indent_scripts": "keep",
            "indent_size": 2,
            "max_preserve_newlines": 0,
            "preserve_newlines": true,
            "unformatted": [
                "a",
                "span",
                "img",
                "code",
                "pre",
                "sub",
                "sup",
                "em",
                "strong",
                "b",
                "i",
                "u",
                "strike",
                "big",
                "small",
                "pre",
                "h1",
                "h2",
                "h3",
                "h4",
                "h5",
                "h6"
            ],
            "wrap_line_length": 0
        },
        "css": {
            "allowed_file_extensions": [
                "css",
                "scss",
                "sass",
                "less"
            ],
            "end_with_newline": true,
            "indent_char": " ",
            "indent_size": 2,
            "newline_between_rules": true,
            "selector_separator": " ",
            "selector_separator_newline": true
        },
        "js": {
            "allowed_file_extensions": [
                "js",
                "json",
                "jshintrc",
                "jsbeautifyrc"
            ],
            "brace_style": "collapse",
            "break_chained_methods": false,
            "e4x": false,
            "end_with_newline": false,
            "indent_char": " ",
            "indent_level": 0,
            "indent_size": 2,
            "indent_with_tabs": false,
            "jslint_happy": false,
            "keep_array_indentation": false,
            "keep_function_indentation": false,
            "max_preserve_newlines": 0,
            "preserve_newlines": true,
            "space_after_anon_function": false,
            "space_before_conditional": true,
            "space_in_empty_paren": false,
            "space_in_paren": false,
            "unescape_strings": false,
            "wrap_line_length": 0
        }
    },
    {
        "html": {
            "allowed_file_extensions": [
                "htm",
                "html",
                "xhtml",
                "shtml",
                "xml",
                "svg"
            ],
            "brace_style": "collapse",
            "end_with_newline": true,
            "indent_char": " ",
            "indent_handlebars": false,
            "indent_inner_html": false,
            "indent_scripts": "keep",
            "indent_size": 2,
            "max_preserve_newlines": 0,
            "preserve_newlines": true,
            "unformatted": [
                "a",
                "span",
                "img",
                "code",
                "pre",
                "sub",
                "sup",
                "em",
                "strong",
                "b",
                "i",
                "u",
                "strike",
                "big",
                "small",
                "pre",
                "h1",
                "h2",
                "h3",
                "h4",
                "h5",
                "h6"
            ],
            "wrap_line_length": 0
        },
        "css": {
            "allowed_file_extensions": [
                "css",
                "scss",
                "sass",
                "less"
            ],
            "end_with_newline": true,
            "indent_char": " ",
            "indent_size": 2,
            "newline_between_rules": true,
            "selector_separator": " ",
            "selector_separator_newline": true
        },
        "js": {
            "allowed_file_extensions": [
                "js",
                "json",
                "jshintrc",
                "jsbeautifyrc"
            ],
            "brace_style": "collapse",
            "break_chained_methods": false,
            "e4x": false,
            "end_with_newline": false,
            "indent_char": " ",
            "indent_level": 0,
            "indent_size": 2,
            "indent_with_tabs": false,
            "jslint_happy": false,
            "keep_array_indentation": false,
            "keep_function_indentation": false,
            "max_preserve_newlines": 0,
            "preserve_newlines": true,
            "space_after_anon_function": false,
            "space_before_conditional": true,
            "space_in_empty_paren": false,
            "space_in_paren": false,
            "unescape_strings": false,
            "wrap_line_length": 0
        }
    },
    {
        "html": {
            "allowed_file_extensions": [
                "htm",
                "html",
                "xhtml",
                "shtml",
                "xml",
                "svg"
            ],
            "brace_style": "collapse",
            "end_with_newline": true,
            "indent_char": " ",
            "indent_handlebars": false,
            "indent_inner_html": false,
            "indent_scripts": "keep",
            "indent_size": 2,
            "max_preserve_newlines": 0,
            "preserve_newlines": true,
            "unformatted": [
                "a",
                "span",
                "img",
                "code",
                "pre",
                "sub",
                "sup",
                "em",
                "strong",
                "b",
                "i",
                "u",
                "strike",
                "big",
                "small",
                "pre",
                "h1",
                "h2",
                "h3",
                "h4",
                "h5",
                "h6"
            ],
            "wrap_line_length": 0
        },
        "css": {
            "allowed_file_extensions": [
                "css",
                "scss",
                "sass",
                "less"
            ],
            "end_with_newline": true,
            "indent_char": " ",
            "indent_size": 2,
            "newline_between_rules": true,
            "selector_separator": " ",
            "selector_separator_newline": true
        },
        "js": {
            "allowed_file_extensions": [
                "js",
                "json",
                "jshintrc",
                "jsbeautifyrc"
            ],
            "brace_style": "collapse",
            "break_chained_methods": false,
            "e4x": false,
            "end_with_newline": false,
            "indent_char": " ",
            "indent_level": 0,
            "indent_size": 2,
            "indent_with_tabs": false,
            "jslint_happy": false,
            "keep_array_indentation": false,
            "keep_function_indentation": false,
            "max_preserve_newlines": 0,
            "preserve_newlines": true,
            "space_after_anon_function": false,
            "space_before_conditional": true,
            "space_in_empty_paren": false,
            "space_in_paren": false,
            "unescape_strings": false,
            "wrap_line_length": 0
        }
    },
    {
        "_default": {
            "indent_size": 2,
            "indent_char": " ",
            "indent_level": 0,
            "indent_with_tabs": false,
            "preserve_newlines": true,
            "max_preserve_newlines": 2,
            "jslint_happy": false
        }
    },
    {
        "html": {
            "allowed_file_extensions": [
                "htm",
                "html",
                "xhtml",
                "shtml",
                "xml",
                "svg"
            ],
            "brace_style": "collapse",
            "end_with_newline": true,
            "indent_char": " ",
            "indent_handlebars": false,
            "indent_inner_html": false,
            "indent_scripts": "keep",
            "indent_size": 2,
            "max_preserve_newlines": 0,
            "preserve_newlines": true,
            "unformatted": [
                "a",
                "span",
                "img",
                "code",
                "pre",
                "sub",
                "sup",
                "em",
                "strong",
                "b",
                "i",
                "u",
                "strike",
                "big",
                "small",
                "pre",
                "h1",
                "h2",
                "h3",
                "h4",
                "h5",
                "h6"
            ],
            "wrap_line_length": 0
        },
        "css": {
            "allowed_file_extensions": [
                "css",
                "scss",
                "sass",
                "less"
            ],
            "end_with_newline": true,
            "indent_char": " ",
            "indent_size": 2,
            "newline_between_rules": true,
            "selector_separator": " ",
            "selector_separator_newline": true
        },
        "js": {
            "allowed_file_extensions": [
                "js",
                "json",
                "jshintrc",
                "jsbeautifyrc"
            ],
            "brace_style": "collapse",
            "break_chained_methods": false,
            "e4x": false,
            "end_with_newline": false,
            "indent_char": " ",
            "indent_level": 0,
            "indent_size": 2,
            "indent_with_tabs": false,
            "jslint_happy": false,
            "keep_array_indentation": false,
            "keep_function_indentation": false,
            "max_preserve_newlines": 0,
            "preserve_newlines": true,
            "space_after_anon_function": false,
            "space_before_conditional": true,
            "space_in_empty_paren": false,
            "space_in_paren": false,
            "unescape_strings": false,
            "wrap_line_length": 0
        }
    },
    {
        "html": {
            "allowed_file_extensions": [
                "htm",
                "html",
                "xhtml",
                "shtml",
                "xml",
                "svg"
            ],
            "brace_style": "collapse",
            "end_with_newline": true,
            "indent_char": " ",
            "indent_handlebars": false,
            "indent_inner_html": false,
            "indent_scripts": "keep",
            "indent_size": 2,
            "max_preserve_newlines": 0,
            "preserve_newlines": true,
            "unformatted": [
                "a",
                "span",
                "img",
                "code",
                "pre",
                "sub",
                "sup",
                "em",
                "strong",
                "b",
                "i",
                "u",
                "strike",
                "big",
                "small",
                "pre",
                "h1",
                "h2",
                "h3",
                "h4",
                "h5",
                "h6"
            ],
            "wrap_line_length": 0
        },
        "css": {
            "allowed_file_extensions": [
                "css",
                "scss",
                "sass",
                "less"
            ],
            "end_with_newline": true,
            "indent_char": " ",
            "indent_size": 2,
            "newline_between_rules": true,
            "selector_separator": " ",
            "selector_separator_newline": true
        },
        "js": {
            "allowed_file_extensions": [
                "js",
                "json",
                "jshintrc",
                "jsbeautifyrc"
            ],
            "brace_style": "collapse",
            "break_chained_methods": false,
            "e4x": false,
            "end_with_newline": false,
            "indent_char": " ",
            "indent_level": 0,
            "indent_size": 2,
            "indent_with_tabs": false,
            "jslint_happy": false,
            "keep_array_indentation": false,
            "keep_function_indentation": false,
            "max_preserve_newlines": 0,
            "preserve_newlines": true,
            "space_after_anon_function": false,
            "space_before_conditional": true,
            "space_in_empty_paren": false,
            "space_in_paren": false,
            "unescape_strings": false,
            "wrap_line_length": 0
        }
    },
    {
        "html": {
            "allowed_file_extensions": [
                "htm",
                "html",
                "xhtml",
                "shtml",
                "xml",
                "svg"
            ],
            "brace_style": "collapse",
            "end_with_newline": true,
            "indent_char": " ",
            "indent_handlebars": false,
            "indent_inner_html": false,
            "indent_scripts": "keep",
            "indent_size": 2,
            "max_preserve_newlines": 0,
            "preserve_newlines": true,
            "unformatted": [
                "a",
                "span",
                "img",
                "code",
                "pre",
                "sub",
                "sup",
                "em",
                "strong",
                "b",
                "i",
                "u",
                "strike",
                "big",
                "small",
                "pre",
                "h1",
                "h2",
                "h3",
                "h4",
                "h5",
                "h6"
            ],
            "wrap_line_length": 0
        },
        "css": {
            "allowed_file_extensions": [
                "css",
                "scss",
                "sass",
                "less"
            ],
            "end_with_newline": true,
            "indent_char": " ",
            "indent_size": 2,
            "newline_between_rules": true,
            "selector_separator": " ",
            "selector_separator_newline": true
        },
        "js": {
            "allowed_file_extensions": [
                "js",
                "json",
                "jshintrc",
                "jsbeautifyrc"
            ],
            "brace_style": "collapse",
            "break_chained_methods": false,
            "e4x": false,
            "end_with_newline": false,
            "indent_char": " ",
            "indent_level": 0,
            "indent_size": 2,
            "indent_with_tabs": false,
            "jslint_happy": false,
            "keep_array_indentation": false,
            "keep_function_indentation": false,
            "max_preserve_newlines": 0,
            "preserve_newlines": true,
            "space_after_anon_function": false,
            "space_before_conditional": true,
            "space_in_empty_paren": false,
            "space_in_paren": false,
            "unescape_strings": false,
            "wrap_line_length": 0
        }
    },
    {
        "html": {
            "allowed_file_extensions": [
                "htm",
                "html",
                "xhtml",
                "shtml",
                "xml",
                "svg"
            ],
            "brace_style": "collapse",
            "end_with_newline": true,
            "indent_char": " ",
            "indent_handlebars": false,
            "indent_inner_html": false,
            "indent_scripts": "keep",
            "indent_size": 2,
            "max_preserve_newlines": 0,
            "preserve_newlines": true,
            "unformatted": [
                "a",
                "span",
                "img",
                "code",
                "pre",
                "sub",
                "sup",
                "em",
                "strong",
                "b",
                "i",
                "u",
                "strike",
                "big",
                "small",
                "pre",
                "h1",
                "h2",
                "h3",
                "h4",
                "h5",
                "h6"
            ],
            "wrap_line_length": 0
        },
        "css": {
            "allowed_file_extensions": [
                "css",
                "scss",
                "sass",
                "less"
            ],
            "end_with_newline": true,
            "indent_char": " ",
            "indent_size": 2,
            "newline_between_rules": true,
            "selector_separator": " ",
            "selector_separator_newline": true
        },
        "js": {
            "allowed_file_extensions": [
                "js",
                "json",
                "jshintrc",
                "jsbeautifyrc"
            ],
            "brace_style": "collapse",
            "break_chained_methods": false,
            "e4x": false,
            "end_with_newline": false,
            "indent_char": " ",
            "indent_level": 0,
            "indent_size": 2,
            "indent_with_tabs": false,
            "jslint_happy": false,
            "keep_array_indentation": false,
            "keep_function_indentation": false,
            "max_preserve_newlines": 0,
            "preserve_newlines": true,
            "space_after_anon_function": false,
            "space_before_conditional": true,
            "space_in_empty_paren": false,
            "space_in_paren": false,
            "unescape_strings": false,
            "wrap_line_length": 0
        }
    }
]

Results

Beautified File Contents:

null

Logs:

2015-05-20T15:10:04.274Z - info:
[/Users/stevelombardi/.atom/packages/atom-beautify/src/beautifiers/index.coffee]
beautify <div class="container-fluid">

  <div class="row spacer-top-lg">
    <div class="col-md-10">
      <h1 style="margin-top: 0;">Tracking Home</h1>
    </div>
    <div class="col-md-2 text-right">
      <a href="">New search</a>
    </div>
  </div>

  <div class="row spacer-top-lg spacer-bottom-lg">
    <div class="col-md-4">
        <div class="form-group">
          <label for="search">Tracking number</label>
          <div class="input-group input-group-separate">
            <input type="text" name="search" class="form-control"
placeholder="Scan or enter the carrier tracking number">
            <span class="input-group-btn">
              <button class="btn btn-default" type="button">
                <i class="fa fa-2x fa-info-circle"></i>
              </button>
            </span>
          </div>
          <span class="help-block">Enter a number to start tracking your
package details</span>
        </div>
    </div>
    <div class="col-md-4">

    </div>
  </div>

  <div class="row">
    <div class="col-md-8">
      <div class="panel panel-default">
        <div class="panel-heading">
          Recent packages
        </div>
        <table class="table">
          <thead>
            <tr>
              <th>Received</th>
              <th>Addressee</th>
              <th>Package Tracking #</th>
            </tr>
          </thead>
          <tbody>
            <tr ng-repeat="package in dashboard.recentPackages">
              <td>{{package.received}}</td>
              <td>{{package.addressee}}</td>
              <td>{{package.tracking}}</td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
  </div>
  <div class="row">
    <div class="col-md-4">
      <div class="panel panel-default">
        <div class="panel-heading">
          Widget #2
        </div>
        <div class="panel-body">
          <img src="http://placehold.it/350x250" class="img-responsive" />
        </div>

      </div>
    </div>
    <div class="col-md-4">
      <div class="panel panel-default">
        <div class="panel-heading">
        Widget #3
        </div>
        <div class="panel-body">
          <tabset>
            <tab heading="Tab 1">
              Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quo
facere, laborum excepturi totam ab quis aspernatur saepe vel dicta quod.
Laudantium, ipsam voluptate sed, adipisci quis eveniet consectetur beatae
corrupti!
            </tab>
            <tab heading="Tab 2">
              Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quo
facere, laborum excepturi totam ab quis aspernatur saepe vel dicta quod.
Laudantium, ipsam voluptate sed, adipisci quis eveniet consectetur beatae
corrupti!
            </tab>

          </tabset>
        </div>
      </div>
    </div>
  </div>

</div>
 [ { _default: { indent_size: 2, indent_char: ' ', indent_with_tabs: false
} },
  { css:
     { preserve_newlines: true,
       indent_size: 2,
       indent_char: ' ',
       selector_separator_newline: false,
       newline_between_rules: false },
    js:
     { end_with_newline: true,
       indent_size: 2,
       indent_char: ' ',
       indent_level: 0,
       indent_with_tabs: false,
       preserve_newlines: true,
       max_preserve_newlines: 10,
       space_in_paren: false,
       jslint_happy: false,
       space_after_anon_function: false,
       brace_style: 'collapse',
       break_chained_methods: false,
       keep_array_indentation: false,
       keep_function_indentation: false,
       space_before_conditional: true,
       eval_code: false,
       unescape_strings: false,
       wrap_line_length: 0 },
    cs: { configPath: '' },
    c: { configPath: '' },
    cpp: { configPath: '' },
    d: { configPath: '' },
    html:
     { indent_inner_html: false,
       indent_size: 2,
       indent_char: ' ',
       brace_style: 'collapse',
       indent_scripts: 'normal',
       wrap_line_length: 250,
       wrap_attributes: 'auto',
       wrap_attributes_indent_size: 2,
       preserve_newlines: true,
       max_preserve_newlines: 10,
       unformatted: [Object],
       end_with_newline: false },
    java: { configPath: '' },
    objectivec: { configPath: '' },
    pawn: { configPath: '' },
    perl: { perltidy_profile: '' },
    php: { fixers: '', level: '' },
    python: { max_line_length: 79, indent_size: 2, ignore: [Object] },
    sql: { indent_size: 2, keywords: 'upper', identifiers: 'lower' },
    vala: { configPath: '' } },
  { _default: { html: [Object], css: [Object], js: [Object] } },
  { _bitField: 536870912,
    _fulfillmentHandler0: undefined,
    _rejectionHandler0:
     { _bitField: 0,
       _fulfillmentHandler0: undefined,
       _rejectionHandler0: undefined,
       _progressHandler0: undefined,
       _promise0: undefined,
       _receiver0: undefined,
       _settledValue: undefined },
    _progressHandler0: undefined,
    _promise0: undefined,
    _receiver0: undefined,
    _settledValue: undefined },
  { html:
     { allowed_file_extensions: [Object],
       brace_style: 'collapse',
       end_with_newline: true,
       indent_char: ' ',
       indent_handlebars: false,
       indent_inner_html: false,
       indent_scripts: 'keep',
       indent_size: 2,
       max_preserve_newlines: 0,
       preserve_newlines: true,
       unformatted: [Object],
       wrap_line_length: 0 },
    css:
     { allowed_file_extensions: [Object],
       end_with_newline: true,
       indent_char: ' ',
       indent_size: 2,
       newline_between_rules: true,
       selector_separator: ' ',
       selector_separator_newline: true },
    js:
     { allowed_file_extensions: [Object],
       brace_style: 'collapse',
       break_chained_methods: false,
       e4x: false,
       end_with_newline: false,
       indent_char: ' ',
       indent_level: 0,
       indent_size: 2,
       indent_with_tabs: false,
       jslint_happy: false,
       keep_array_indentation: false,
       keep_function_indentation: false,
       max_preserve_newlines: 0,
       preserve_newlines: true,
       space_after_anon_function: false,
       space_before_conditional: true,
       space_in_empty_paren: false,
       space_in_paren: false,
       unescape_strings: false,
       wrap_line_length: 0 } },
  { html:
     { allowed_file_extensions: [Object],
       brace_style: 'collapse',
       end_with_newline: true,
       indent_char: ' ',
       indent_handlebars: false,
       indent_inner_html: false,
       indent_scripts: 'keep',
       indent_size: 2,
       max_preserve_newlines: 0,
       preserve_newlines: true,
       unformatted: [Object],
       wrap_line_length: 0 },
    css:
     { allowed_file_extensions: [Object],
       end_with_newline: true,
       indent_char: ' ',
       indent_size: 2,
       newline_between_rules: true,
       selector_separator: ' ',
       selector_separator_newline: true },
    js:
     { allowed_file_extensions: [Object],
       brace_style: 'collapse',
       break_chained_methods: false,
       e4x: false,
       end_with_newline: false,
       indent_char: ' ',
       indent_level: 0,
       indent_size: 2,
       indent_with_tabs: false,
       jslint_happy: false,
       keep_array_indentation: false,
       keep_function_indentation: false,
       max_preserve_newlines: 0,
       preserve_newlines: true,
       space_after_anon_function: false,
       space_before_conditional: true,
       space_in_empty_paren: false,
       space_in_paren: false,
       unescape_strings: false,
       wrap_line_length: 0 } },
  { html:
     { allowed_file_extensions: [Object],
       brace_style: 'collapse',
       end_with_newline: true,
       indent_char: ' ',
       indent_handlebars: false,
       indent_inner_html: false,
       indent_scripts: 'keep',
       indent_size: 2,
       max_preserve_newlines: 0,
       preserve_newlines: true,
       unformatted: [Object],
       wrap_line_length: 0 },
    css:
     { allowed_file_extensions: [Object],
       end_with_newline: true,
       indent_char: ' ',
       indent_size: 2,
       newline_between_rules: true,
       selector_separator: ' ',
       selector_separator_newline: true },
    js:
     { allowed_file_extensions: [Object],
       brace_style: 'collapse',
       break_chained_methods: false,
       e4x: false,
       end_with_newline: false,
       indent_char: ' ',
       indent_level: 0,
       indent_size: 2,
       indent_with_tabs: false,
       jslint_happy: false,
       keep_array_indentation: false,
       keep_function_indentation: false,
       max_preserve_newlines: 0,
       preserve_newlines: true,
       space_after_anon_function: false,
       space_before_conditional: true,
       space_in_empty_paren: false,
       space_in_paren: false,
       unescape_strings: false,
       wrap_line_length: 0 } },
  { _default:
     { indent_size: 2,
       indent_char: ' ',
       indent_level: 0,
       indent_with_tabs: false,
       preserve_newlines: true,
       max_preserve_newlines: 2,
       jslint_happy: false } },
  { html:
     { allowed_file_extensions: [Object],
       brace_style: 'collapse',
       end_with_newline: true,
       indent_char: ' ',
       indent_handlebars: false,
       indent_inner_html: false,
       indent_scripts: 'keep',
       indent_size: 2,
       max_preserve_newlines: 0,
       preserve_newlines: true,
       unformatted: [Object],
       wrap_line_length: 0 },
    css:
     { allowed_file_extensions: [Object],
       end_with_newline: true,
       indent_char: ' ',
       indent_size: 2,
       newline_between_rules: true,
       selector_separator: ' ',
       selector_separator_newline: true },
    js:
     { allowed_file_extensions: [Object],
       brace_style: 'collapse',
       break_chained_methods: false,
       e4x: false,
       end_with_newline: false,
       indent_char: ' ',
       indent_level: 0,
       indent_size: 2,
       indent_with_tabs: false,
       jslint_happy: false,
       keep_array_indentation: false,
       keep_function_indentation: false,
       max_preserve_newlines: 0,
       preserve_newlines: true,
       space_after_anon_function: false,
       space_before_conditional: true,
       space_in_empty_paren: false,
       space_in_paren: false,
       unescape_strings: false,
       wrap_line_length: 0 } },
  { html:
     { allowed_file_extensions: [Object],
       brace_style: 'collapse',
       end_with_newline: true,
       indent_char: ' ',
       indent_handlebars: false,
       indent_inner_html: false,
       indent_scripts: 'keep',
       indent_size: 2,
       max_preserve_newlines: 0,
       preserve_newlines: true,
       unformatted: [Object],
       wrap_line_length: 0 },
    css:
     { allowed_file_extensions: [Object],
       end_with_newline: true,
       indent_char: ' ',
       indent_size: 2,
       newline_between_rules: true,
       selector_separator: ' ',
       selector_separator_newline: true },
    js:
     { allowed_file_extensions: [Object],
       brace_style: 'collapse',
       break_chained_methods: false,
       e4x: false,
       end_with_newline: false,
       indent_char: ' ',
       indent_level: 0,
       indent_size: 2,
       indent_with_tabs: false,
       jslint_happy: false,
       keep_array_indentation: false,
       keep_function_indentation: false,
       max_preserve_newlines: 0,
       preserve_newlines: true,
       space_after_anon_function: false,
       space_before_conditional: true,
       space_in_empty_paren: false,
       space_in_paren: false,
       unescape_strings: false,
       wrap_line_length: 0 } },
  { html:
     { allowed_file_extensions: [Object],
       brace_style: 'collapse',
       end_with_newline: true,
       indent_char: ' ',
       indent_handlebars: false,
       indent_inner_html: false,
       indent_scripts: 'keep',
       indent_size: 2,
       max_preserve_newlines: 0,
       preserve_newlines: true,
       unformatted: [Object],
       wrap_line_length: 0 },
    css:
     { allowed_file_extensions: [Object],
       end_with_newline: true,
       indent_char: ' ',
       indent_size: 2,
       newline_between_rules: true,
       selector_separator: ' ',
       selector_separator_newline: true },
    js:
     { allowed_file_extensions: [Object],
       brace_style: 'collapse',
       break_chained_methods: false,
       e4x: false,
       end_with_newline: false,
       indent_char: ' ',
       indent_level: 0,
       indent_size: 2,
       indent_with_tabs: false,
       jslint_happy: false,
       keep_array_indentation: false,
       keep_function_indentation: false,
       max_preserve_newlines: 0,
       preserve_newlines: true,
       space_after_anon_function: false,
       space_before_conditional: true,
       space_in_empty_paren: false,
       space_in_paren: false,
       unescape_strings: false,
       wrap_line_length: 0 } },
  { html:
     { allowed_file_extensions: [Object],
       brace_style: 'collapse',
       end_with_newline: true,
       indent_char: ' ',
       indent_handlebars: false,
       indent_inner_html: false,
       indent_scripts: 'keep',
       indent_size: 2,
       max_preserve_newlines: 0,
       preserve_newlines: true,
       unformatted: [Object],
       wrap_line_length: 0 },
    css:
     { allowed_file_extensions: [Object],
       end_with_newline: true,
       indent_char: ' ',
       indent_size: 2,
       newline_between_rules: true,
       selector_separator: ' ',
       selector_separator_newline: true },
    js:
     { allowed_file_extensions: [Object],
       brace_style: 'collapse',
       break_chained_methods: false,
       e4x: false,
       end_with_newline: false,
       indent_char: ' ',
       indent_level: 0,
       indent_size: 2,
       indent_with_tabs: false,
       jslint_happy: false,
       keep_array_indentation: false,
       keep_function_indentation: false,
       max_preserve_newlines: 0,
       preserve_newlines: true,
       space_after_anon_function: false,
       space_before_conditional: true,
       space_in_empty_paren: false,
       space_in_paren: false,
       unescape_strings: false,
       wrap_line_length: 0 } } ] HTML (Angular)
/Users/stevelombardi/Documents/Fireball/app/modules/dashboard/templates/dashboard.html
2015-05-20T15:10:04.274Z - verbose:
[/Users/stevelombardi/.atom/packages/atom-beautify/src/beautifiers/index.coffee]
 indent_size=2, indent_char= , indent_with_tabs=false,
preserve_newlines=true, indent_size=2, indent_char= ,
selector_separator_newline=false, newline_between_rules=false,
end_with_newline=true, indent_size=2, indent_char= , indent_level=0,
indent_with_tabs=false, preserve_newlines=true, max_preserve_newlines=10,
space_in_paren=false, jslint_happy=false, space_after_anon_function=false,
brace_style=collapse, break_chained_methods=false,
keep_array_indentation=false, keep_function_indentation=false,
space_before_conditional=true, eval_code=false, unescape_strings=false,
wrap_line_length=0, configPath=, configPath=, configPath=, configPath=,
indent_inner_html=false, indent_size=2, indent_char= ,
brace_style=collapse, indent_scripts=normal, wrap_line_length=250,
wrap_attributes=auto, wrap_attributes_indent_size=2,
preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, sub, sup,
b, i, u], end_with_newline=false, configPath=, configPath=, configPath=,
perltidy_profile=, fixers=, level=, max_line_length=79, indent_size=2,
ignore=[E24], indent_size=2, keywords=upper, identifiers=lower,
configPath=, allowed_file_extensions=[htm, html, xhtml, shtml, xml, svg],
brace_style=collapse, end_with_newline=true, indent_char= ,
indent_handlebars=false, indent_inner_html=false, indent_scripts=keep,
indent_size=2, max_preserve_newlines=0, preserve_newlines=true,
unformatted=[a, span, img, code, pre, sub, sup, em, strong, b, i, u,
strike, big, small, pre, h1, h2, h3, h4, h5, h6], wrap_line_length=0,
allowed_file_extensions=[css, scss, sass, less], end_with_newline=true,
indent_char= , indent_size=2, newline_between_rules=true,
selector_separator= , selector_separator_newline=true,
allowed_file_extensions=[js, json, jshintrc, jsbeautifyrc],
brace_style=collapse, break_chained_methods=false, e4x=false,
end_with_newline=false, indent_char= , indent_level=0, indent_size=2,
indent_with_tabs=false, jslint_happy=false, keep_array_indentation=false,
keep_function_indentation=false, max_preserve_newlines=0,
preserve_newlines=true, space_after_anon_function=false,
space_before_conditional=true, space_in_empty_paren=false,
space_in_paren=false, unescape_strings=false, wrap_line_length=0,
_bitField=536870912, _fulfillmentHandler0=undefined, _bitField=0,
_fulfillmentHandler0=undefined, _rejectionHandler0=undefined,
_progressHandler0=undefined, _promise0=undefined, _receiver0=undefined,
_settledValue=undefined, _progressHandler0=undefined, _promise0=undefined,
_receiver0=undefined, _settledValue=undefined,
allowed_file_extensions=[htm, html, xhtml, shtml, xml, svg],
brace_style=collapse, end_with_newline=true, indent_char= ,
indent_handlebars=false, indent_inner_html=false, indent_scripts=keep,
indent_size=2, max_preserve_newlines=0, preserve_newlines=true,
unformatted=[a, span, img, code, pre, sub, sup, em, strong, b, i, u,
strike, big, small, pre, h1, h2, h3, h4, h5, h6], wrap_line_length=0,
allowed_file_extensions=[css, scss, sass, less], end_with_newline=true,
indent_char= , indent_size=2, newline_between_rules=true,
selector_separator= , selector_separator_newline=true,
allowed_file_extensions=[js, json, jshintrc, jsbeautifyrc],
brace_style=collapse, break_chained_methods=false, e4x=false,
end_with_newline=false, indent_char= , indent_level=0, indent_size=2,
indent_with_tabs=false, jslint_happy=false, keep_array_indentation=false,
keep_function_indentation=false, max_preserve_newlines=0,
preserve_newlines=true, space_after_anon_function=false,
space_before_conditional=true, space_in_empty_paren=false,
space_in_paren=false, unescape_strings=false, wrap_line_length=0,
allowed_file_extensions=[htm, html, xhtml, shtml, xml, svg],
brace_style=collapse, end_with_newline=true, indent_char= ,
indent_handlebars=false, indent_inner_html=false, indent_scripts=keep,
indent_size=2, max_preserve_newlines=0, preserve_newlines=true,
unformatted=[a, span, img, code, pre, sub, sup, em, strong, b, i, u,
strike, big, small, pre, h1, h2, h3, h4, h5, h6], wrap_line_length=0,
allowed_file_extensions=[css, scss, sass, less], end_with_newline=true,
indent_char= , indent_size=2, newline_between_rules=true,
selector_separator= , selector_separator_newline=true,
allowed_file_extensions=[js, json, jshintrc, jsbeautifyrc],
brace_style=collapse, break_chained_methods=false, e4x=false,
end_with_newline=false, indent_char= , indent_level=0, indent_size=2,
indent_with_tabs=false, jslint_happy=false, keep_array_indentation=false,
keep_function_indentation=false, max_preserve_newlines=0,
preserve_newlines=true, space_after_anon_function=false,
space_before_conditional=true, space_in_empty_paren=false,
space_in_paren=false, unescape_strings=false, wrap_line_length=0,
allowed_file_extensions=[htm, html, xhtml, shtml, xml, svg],
brace_style=collapse, end_with_newline=true, indent_char= ,
indent_handlebars=false, indent_inner_html=false, indent_scripts=keep,
indent_size=2, max_preserve_newlines=0, preserve_newlines=true,
unformatted=[a, span, img, code, pre, sub, sup, em, strong, b, i, u,
strike, big, small, pre, h1, h2, h3, h4, h5, h6], wrap_line_length=0,
allowed_file_extensions=[css, scss, sass, less], end_with_newline=true,
indent_char= , indent_size=2, newline_between_rules=true,
selector_separator= , selector_separator_newline=true,
allowed_file_extensions=[js, json, jshintrc, jsbeautifyrc],
brace_style=collapse, break_chained_methods=false, e4x=false,
end_with_newline=false, indent_char= , indent_level=0, indent_size=2,
indent_with_tabs=false, jslint_happy=false, keep_array_indentation=false,
keep_function_indentation=false, max_preserve_newlines=0,
preserve_newlines=true, space_after_anon_function=false,
space_before_conditional=true, space_in_empty_paren=false,
space_in_paren=false, unescape_strings=false, wrap_line_length=0,
indent_size=2, indent_char= , indent_level=0, indent_with_tabs=false,
preserve_newlines=true, max_preserve_newlines=2, jslint_happy=false,
allowed_file_extensions=[htm, html, xhtml, shtml, xml, svg],
brace_style=collapse, end_with_newline=true, indent_char= ,
indent_handlebars=false, indent_inner_html=false, indent_scripts=keep,
indent_size=2, max_preserve_newlines=0, preserve_newlines=true,
unformatted=[a, span, img, code, pre, sub, sup, em, strong, b, i, u,
strike, big, small, pre, h1, h2, h3, h4, h5, h6], wrap_line_length=0,
allowed_file_extensions=[css, scss, sass, less], end_with_newline=true,
indent_char= , indent_size=2, newline_between_rules=true,
selector_separator= , selector_separator_newline=true,
allowed_file_extensions=[js, json, jshintrc, jsbeautifyrc],
brace_style=collapse, break_chained_methods=false, e4x=false,
end_with_newline=false, indent_char= , indent_level=0, indent_size=2,
indent_with_tabs=false, jslint_happy=false, keep_array_indentation=false,
keep_function_indentation=false, max_preserve_newlines=0,
preserve_newlines=true, space_after_anon_function=false,
space_before_conditional=true, space_in_empty_paren=false,
space_in_paren=false, unescape_strings=false, wrap_line_length=0,
allowed_file_extensions=[htm, html, xhtml, shtml, xml, svg],
brace_style=collapse, end_with_newline=true, indent_char= ,
indent_handlebars=false, indent_inner_html=false, indent_scripts=keep,
indent_size=2, max_preserve_newlines=0, preserve_newlines=true,
unformatted=[a, span, img, code, pre, sub, sup, em, strong, b, i, u,
strike, big, small, pre, h1, h2, h3, h4, h5, h6], wrap_line_length=0,
allowed_file_extensions=[css, scss, sass, less], end_with_newline=true,
indent_char= , indent_size=2, newline_between_rules=true,
selector_separator= , selector_separator_newline=true,
allowed_file_extensions=[js, json, jshintrc, jsbeautifyrc],
brace_style=collapse, break_chained_methods=false, e4x=false,
end_with_newline=false, indent_char= , indent_level=0, indent_size=2,
indent_with_tabs=false, jslint_happy=false, keep_array_indentation=false,
keep_function_indentation=false, max_preserve_newlines=0,
preserve_newlines=true, space_after_anon_function=false,
space_before_conditional=true, space_in_empty_paren=false,
space_in_paren=false, unescape_strings=false, wrap_line_length=0,
allowed_file_extensions=[htm, html, xhtml, shtml, xml, svg],
brace_style=collapse, end_with_newline=true, indent_char= ,
indent_handlebars=false, indent_inner_html=false, indent_scripts=keep,
indent_size=2, max_preserve_newlines=0, preserve_newlines=true,
unformatted=[a, span, img, code, pre, sub, sup, em, strong, b, i, u,
strike, big, small, pre, h1, h2, h3, h4, h5, h6], wrap_line_length=0,
allowed_file_extensions=[css, scss, sass, less], end_with_newline=true,
indent_char= , indent_size=2, newline_between_rules=true,
selector_separator= , selector_separator_newline=true,
allowed_file_extensions=[js, json, jshintrc, jsbeautifyrc],
brace_style=collapse, break_chained_methods=false, e4x=false,
end_with_newline=false, indent_char= , indent_level=0, indent_size=2,
indent_with_tabs=false, jslint_happy=false, keep_array_indentation=false,
keep_function_indentation=false, max_preserve_newlines=0,
preserve_newlines=true, space_after_anon_function=false,
space_before_conditional=true, space_in_empty_paren=false,
space_in_paren=false, unescape_strings=false, wrap_line_length=0,
allowed_file_extensions=[htm, html, xhtml, shtml, xml, svg],
brace_style=collapse, end_with_newline=true, indent_char= ,
indent_handlebars=false, indent_inner_html=false, indent_scripts=keep,
indent_size=2, max_preserve_newlines=0, preserve_newlines=true,
unformatted=[a, span, img, code, pre, sub, sup, em, strong, b, i, u,
strike, big, small, pre, h1, h2, h3, h4, h5, h6], wrap_line_length=0,
allowed_file_extensions=[css, scss, sass, less], end_with_newline=true,
indent_char= , indent_size=2, newline_between_rules=true,
selector_separator= , selector_separator_newline=true,
allowed_file_extensions=[js, json, jshintrc, jsbeautifyrc],
brace_style=collapse, break_chained_methods=false, e4x=false,
end_with_newline=false, indent_char= , indent_level=0, indent_size=2,
indent_with_tabs=false, jslint_happy=false, keep_array_indentation=false,
keep_function_indentation=false, max_preserve_newlines=0,
preserve_newlines=true, space_after_anon_function=false,
space_before_conditional=true, space_in_empty_paren=false,
space_in_paren=false, unescape_strings=false, wrap_line_length=0

On Wed, May 20, 2015 at 10:03 AM, Glavin Wiechert notifications@github.com wrote:

Please run command Atom Beautify - Help Debug Editor.

— Reply to this email directly or view it on GitHub https://github.com/Glavin001/atom-beautify/issues/350#issuecomment-103898148 .

Glavin001 commented 9 years ago

I am not sure that the grammar HTML (Angular) was ever directly supported. Instead it was JavaScript Template grammar. See #179. I will add HTML (Angular) such that Atom Beautify applies Embedded JavaScript language beautification. See https://github.com/Glavin001/atom-beautify/blob/master/src/languages/ejs.coffee for source code.

smlombardi commented 9 years ago

I would say that since these files, prior to .200, were beautified as HTML, you should add this new grammar to HTML, NOT to javascript.

If HTML worked perfectly for the past year, let's leave it as is.

On Wed, May 20, 2015 at 11:28 AM, Glavin Wiechert notifications@github.com wrote:

Closed #350 https://github.com/Glavin001/atom-beautify/issues/350 via 3913267 https://github.com/Glavin001/atom-beautify/commit/3913267804995c33d595df9d8ba54b21837f443d .

— Reply to this email directly or view it on GitHub https://github.com/Glavin001/atom-beautify/issues/350#event-309639112.

Glavin001 commented 9 years ago

Could you test: change your current grammar to HTML and see how beautification performs. Then try Embedded JavaScript.

Glavin001 commented 9 years ago

Published to v0.27.3

smlombardi commented 9 years ago

Seems to work as "HTML (Angular)" and "HTML", although output is a little different for each. The Angular one seems to be broken into more lines. (I didn't see Embedded JS as a choice in the file type popup)

Before

<div id="footer" class="footer-thin">
  <div class="container-fluid">
    <div class="row">

      <!-- Copyright -->
      <div class="col-md-4">
        <a href="http://www.foo.com"><i class="footer-logo gradient"></i></a>&copy; 2015 All rights reserved.
      </div>

    </div>
  </div>
</div>

As HTML (angular):

<div class="footer-thin" id="footer">
  <div class="container-fluid">
    <div class="row">
      <!-- Copyright -->
      <div class="col-md-4">
        <a href="http://www.foo.com">
          <i class="footer-logo gradient"></i>
        </a>&copy; 2015 All rights reserved.
      </div>
    </div>
  </div>
</div>

As HTML:

<div id="footer" class="footer-thin">
  <div class="container-fluid">
    <div class="row">
      <!-- Copyright -->
      <div class="col-md-4">
        <a href="http://www.foo.com"><i class="footer-logo gradient"></i></a>&copy; 2015 All rights reserved.
      </div>
    </div>
  </div>
</div>
Glavin001 commented 9 years ago

HTML is by default handled by js-beautify, while other languages such as Embedded JavaScript are handled by Pretty Diff ( @prettydiff ), which has excellent support for many languages. I am going to leave it under Embedded JavaScript, as it looks appropriate and Pretty Diff is best equipped to handle it.

Thank you for testing and letting me know.

smlombardi commented 9 years ago

Thanks for the rapid fix.

On Wed, May 20, 2015 at 12:37 PM, Glavin Wiechert notifications@github.com wrote:

HTML is by default handled by js-beautify, while other languages such as Embedded JavaScript are handled by Pretty Diff ( @prettydiff https://github.com/prettydiff ), which has excellent support for many languages. I am going to leave it under Embedded JavaScript, as it looks appropriate and Pretty Diff is best equipped to handle it.

Thank you for testing and letting me know.

— Reply to this email directly or view it on GitHub https://github.com/Glavin001/atom-beautify/issues/350#issuecomment-103952330 .