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

LESS beutify removes all empty lines #364

Closed dizzyn closed 9 years ago

dizzyn commented 9 years ago

If it's a bug, all the emplty lines are removed. The lines are good for visual structuring.

Version: 0.27.6

Demo:

&.game-over {

    .game-over-dialog {

          display: block;
    }
}

Thanks.

Tom

Glavin001 commented 9 years ago

LESS is handled by Pretty Diff.

/cc @prettydiff

@dizzyn could you run command Atom Beautify - Help Debug Editor to show us more information. Thanks.

dizzyn commented 9 years ago

Atom Beautify - Debugging information

The following debugging information was generated by Atom Beautify on Sun May 24 2015 20:31:03 GMT+0200 (Central Europe Daylight Time).


Platform: win32

Versions

Atom Version: 0.201.0

Atom Beautify Version: 0.27.6

Original file to be beautified

Original File Path: C:\Users\t\Projects\ihero\public\css\less\page-musical-instruments.less

Original File Grammar: LESS

Original File Contents:

.page-instruments {
  .instruments {
    margin: 0;
    padding: 0;
    .clearfix();
    > li {
      box-sizing: border-box;
      margin: 10px;
      display: block;
      float: left;
      width: 33.33%;
      .clearfix();
      h2 {
        font-size: 21px;
      }
      .desc {
        font-size: 21px;
      }
      .image {
        img {
          width: 100%;
        }
      }
      .links {
        margin: 0;
        padding: 0;
        li {
          margin: 0;
          padding: 0;
          list-style-type: none;
          a {
            color: white;
          }
        }
      }
    }
  }
}

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

{
    "cs": {
        "configPath": ""
    },
    "c": {
        "configPath": ""
    },
    "cpp": {
        "configPath": ""
    },
    "css": {
        "indent_size": 2,
        "indent_char": " ",
        "selector_separator_newline": false,
        "newline_between_rules": false,
        "preserve_newlines": false
    },
    "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": ""
    },
    "js": {
        "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,
        "end_with_newline": false
    },
    "objectivec": {
        "configPath": ""
    },
    "pawn": {
        "configPath": ""
    },
    "perl": {
        "perltidy_profile": ""
    },
    "php": {
        "cs_fixer_path": "",
        "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 C:\Users\t\.jsbeautifyrc

{
    "_default": {}
}

EditorConfig Options: Options from EditorConfig file

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

Project Options: Options from .jsbeautifyrc files starting from directory C:\Users\t\Projects\ihero\public\css\less and going up to root

[
    {
        "_default": {}
    },
    {
        "_default": {}
    },
    {
        "_default": {}
    },
    {
        "_default": {}
    },
    {
        "_default": {}
    },
    {
        "_default": {}
    },
    {
        "_default": {}
    }
]

Results

Beautified File Contents:

.page-instruments {
  .instruments {
    margin: 0;
    padding: 0;
    .clearfix();
    > li {
      box-sizing: border-box;
      margin: 10px;
      display: block;
      float: left;
      width: 33.33%;
      .clearfix();
      h2 {
        font-size: 21px;
      }
      .desc {
        font-size: 21px;
      }
      .image {
        img {
          width: 100%;
        }
      }
      .links {
        margin: 0;
        padding: 0;
        li {
          margin: 0;
          padding: 0;
          list-style-type: none;
          a {
            color: white;
          }
        }
      }
    }
  }
}

Logs:

2015-05-24T18:31:03.638Z - info: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] beautify .page-instruments {
  .instruments {
    margin: 0;
    padding: 0;
    .clearfix();
    > li {
      box-sizing: border-box;
      margin: 10px;
      display: block;
      float: left;
      width: 33.33%;
      .clearfix();
      h2 {
        font-size: 21px;
      }
      .desc {
        font-size: 21px;
      }
      .image {
        img {
          width: 100%;
        }
      }
      .links {
        margin: 0;
        padding: 0;
        li {
          margin: 0;
          padding: 0;
          list-style-type: none;
          a {
            color: white;
          }
        }
      }
    }
  }
}
 [ { _default: { indent_size: 2, indent_char: ' ', indent_with_tabs: false } },
  { cs: { configPath: '' },
    c: { configPath: '' },
    cpp: { configPath: '' },
    css: 
     { indent_size: 2,
       indent_char: ' ',
       selector_separator_newline: false,
       newline_between_rules: false,
       preserve_newlines: false },
    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: '' },
    js: 
     { 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,
       end_with_newline: false },
    objectivec: { configPath: '' },
    pawn: { configPath: '' },
    perl: { perltidy_profile: '' },
    php: { cs_fixer_path: '', fixers: '', level: '' },
    python: { max_line_length: 79, indent_size: 2, ignore: [Object] },
    sql: { indent_size: 2, keywords: 'upper', identifiers: 'lower' },
    vala: { configPath: '' } },
  { _default: {} },
  { _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 },
  { _default: {} },
  { _default: {} },
  { _default: {} },
  { _default: {} },
  { _default: {} },
  { _default: {} },
  { _default: {} } ] LESS C:\Users\t\Projects\ihero\public\css\less\page-musical-instruments.less
2015-05-24T18:31:03.638Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee]  indent_size=2, indent_char= , indent_with_tabs=false, configPath=, configPath=, configPath=, indent_size=2, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false, 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=, 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, end_with_newline=false, configPath=, configPath=, perltidy_profile=, cs_fixer_path=, fixers=, level=, max_line_length=79, indent_size=2, ignore=[E24], indent_size=2, keywords=upper, identifiers=lower, configPath=, , _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, , , , , , , 
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] [ { name: 'LESS',
    namespace: 'less',
    fallback: [ 'css', 'scss', 'sass' ],
    grammars: [ 'LESS' ],
    extensions: [ 'less' ],
    defaultBeautifier: 'Pretty Diff',
    beautifiers: 
     [ 'CSScomb',
       'Pretty Diff',
       'Pretty Diff',
       'Pretty Diff',
       'Pretty Diff' ] } ] 'LESS' 'less'
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] [ 'less', 'css', 'scss', 'sass' ] indent_size=2, indent_char= , indent_with_tabs=false, configPath=, configPath=, configPath=, indent_size=2, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false, 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=, 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, end_with_newline=false, configPath=, configPath=, perltidy_profile=, cs_fixer_path=, fixers=, level=, max_line_length=79, indent_size=2, ignore=[E24], indent_size=2, keywords=upper, identifiers=lower, configPath=, , _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, , , , , , , 
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true indent_size=2, indent_char= , indent_with_tabs=false
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less indent_size=2, indent_char= , indent_with_tabs=false
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css indent_size=2, indent_char= , indent_with_tabs=false
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss indent_size=2, indent_char= , indent_with_tabs=false
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass indent_size=2, indent_char= , indent_with_tabs=false
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true configPath=, configPath=, configPath=, indent_size=2, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false, 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=, 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, end_with_newline=false, configPath=, configPath=, perltidy_profile=, cs_fixer_path=, fixers=, level=, max_line_length=79, indent_size=2, ignore=[E24], indent_size=2, keywords=upper, identifiers=lower, configPath=
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css indent_size=2, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css indent_size=2, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss indent_size=2, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass indent_size=2, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true 
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] false _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
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true 
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true 
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true 
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass undefined
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass
2015-05-24T18:31:03.653Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true 
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less undefined
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css undefined
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss undefined
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass undefined
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true 
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less undefined
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css undefined
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss undefined
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass undefined
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true 
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less undefined
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css undefined
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss undefined
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass undefined
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true 
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less undefined
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options less
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css undefined
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options css
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss undefined
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options scss
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass undefined
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options sass
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] LESS name=LESS, namespace=less, fallback=[css, scss, sass], grammars=[LESS], extensions=[less], defaultBeautifier=Pretty Diff, beautifiers=[CSScomb, Pretty Diff, Pretty Diff, Pretty Diff, Pretty Diff]
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options indent_size=2, indent_char= , indent_with_tabs=false, selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] beautifiers silly=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, debug=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, verbose=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, info=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, warn=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, error=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, onLogging=function (handler) {
        var subscription;
        subscription = emitter.on('logging', handler);
        return subscription;
      }, silly=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, debug=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, verbose=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, info=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, warn=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, error=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, onLogging=function (handler) {
        var subscription;
        subscription = emitter.on('logging', handler);
        return subscription;
      }, languages=[CSS, LESS, Sass, SCSS], silly=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, debug=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, verbose=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, info=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, warn=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, error=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, onLogging=function (handler) {
        var subscription;
        subscription = emitter.on('logging', handler);
        return subscription;
      }, silly=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, debug=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, verbose=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, info=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, warn=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, error=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, onLogging=function (handler) {
        var subscription;
        subscription = emitter.on('logging', handler);
        return subscription;
      }, languages=[CSV, ERB, EJS, HTML, XML, Spacebars, JSX, JavaScript, CSS, SCSS, Sass, JSON, TSS, LESS, Swig, Visualforce]
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] LESS C:\Users\t\Projects\ihero\public\css\less\page-musical-instruments.less { indent_size: 2,
  indent_char: ' ',
  indent_with_tabs: false,
  selector_separator_newline: false,
  newline_between_rules: false,
  preserve_newlines: false } indent_size=2, indent_char= , indent_with_tabs=false, configPath=, configPath=, configPath=, indent_size=2, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false, 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=, 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, end_with_newline=false, configPath=, configPath=, perltidy_profile=, cs_fixer_path=, fixers=, level=, max_line_length=79, indent_size=2, ignore=[E24], indent_size=2, keywords=upper, identifiers=lower, configPath=, , _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, , , , , , , 
2015-05-24T18:31:03.669Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\index.coffee] beautifier Pretty Diff silly=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, debug=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, verbose=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, info=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, warn=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, error=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, onLogging=function (handler) {
        var subscription;
        subscription = emitter.on('logging', handler);
        return subscription;
      }, silly=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, debug=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, verbose=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, info=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, warn=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, error=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, onLogging=function (handler) {
        var subscription;
        subscription = emitter.on('logging', handler);
        return subscription;
      }, languages=[CSS, LESS, Sass, SCSS], silly=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, debug=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, verbose=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, info=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, warn=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, error=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, onLogging=function (handler) {
        var subscription;
        subscription = emitter.on('logging', handler);
        return subscription;
      }, silly=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, debug=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, verbose=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, info=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, warn=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, error=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, onLogging=function (handler) {
        var subscription;
        subscription = emitter.on('logging', handler);
        return subscription;
      }, languages=[CSV, ERB, EJS, HTML, XML, Spacebars, JSX, JavaScript, CSS, SCSS, Sass, JSON, TSS, LESS, Swig, Visualforce]
2015-05-24T18:31:03.763Z - verbose: [C:\Users\t\.atom\packages\atom-beautify\src\beautifiers\beautifier.coffee] prettydiff inchar= , insize=2, alphasort=false, preserve=none, source=.page-instruments {
  .instruments {
    margin: 0;
    padding: 0;
    .clearfix();
    > li {
      box-sizing: border-box;
      margin: 10px;
      display: block;
      float: left;
      width: 33.33%;
      .clearfix();
      h2 {
        font-size: 21px;
      }
      .desc {
        font-size: 21px;
      }
      .image {
        img {
          width: 100%;
        }
      }
      .links {
        margin: 0;
        padding: 0;
        li {
          margin: 0;
          padding: 0;
          list-style-type: none;
          a {
            color: white;
          }
        }
      }
    }
  }
}
, lang=less, mode=beautify
Glavin001 commented 9 years ago

Looks like @prettydiff has taken care of this. You can trick Atom into updating Atom Beautify's installed packages by uninstalling and reinstalling Atom Beautify. It will install a fresh copy of the latest Pretty Diff with this fix applied.