Closed luisrudge closed 9 years ago
Please provide me with source code in text firm so I can test for myself. Running command "help Debug Editor" should be sufficient.
Here's the code:
import React from 'react';
class MyComponent extends React.Component {
render() {
var data = [
1, 2, 3
];
return (
<div>
<anotherDiv className="anotherDiv" data={data}></anotherDiv>
</div>
);
}
}
And a gif showing the problem
Please run Atom Beautify - Help Debug Editor
.
It's working now. Maybe it was something with prettydiff? Not sure. But the same file is working now.
That could be the case. Thanks for letting me know.
Update: I am going to mark this as invalid since I do not know if it was a third-party-bug
(Pretty Diff) or something with Atom Beautify, regardless it is resolved now, so I want to close this issue. :+1:
Great. Thanks for all the effort man!
Sorry man. It happened again with the same file.
The following debugging information was generated by Atom Beautify
on Thu May 28 2015 15:17:00 GMT-0300 (E. South America Standard Time)
.
Platform: win32
Atom Version: 0.204.0
Atom Beautify Version: 0.27.9
Original File Path: c:\git\rr\src\App\Offers\Offers.js
Original File Grammar: JavaScript (JSX)
Original File Contents:
import React from 'react';
class MyComponent extends React.Component {
render() {
var data = [
1, 2, 3
];
return ( < div >
< anotherDiv className = "anotherDiv"
data = {
data
} > < /anotherDiv> < /div>
);
}
}
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\luis\.jsbeautifyrc
{
"_default": {}
}
EditorConfig Options: Options from EditorConfig file
{
"_default": {}
}
Project Options:
Options from .jsbeautifyrc
files starting from directory c:\git\rr\src\App\Offers
and going up to root
[
{
"_default": {}
},
{
"_default": {}
},
{
"_default": {}
},
{
"_default": {}
},
{
"_default": {}
},
{
"_default": {}
}
]
Beautified File Contents:
import React from 'react';
class MyComponent extends React.Component {
render() {
var data = [
1, 2, 3
];
return ( < div > < anotherDiv className = "anotherDiv"
data = {
data
} > < /anotherDiv> < /div >);
}
}
Logs:
2015-05-28T18:17:00.486Z - info: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] beautify import React from 'react';
class MyComponent extends React.Component {
render() {
var data = [
1, 2, 3
];
return ( < div >
< anotherDiv className = "anotherDiv"
data = {
data
} > < /anotherDiv> < /div>
);
}
} [ { _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: {} },
{ _default: {} },
{ _default: {} },
{ _default: {} },
{ _default: {} },
{ _default: {} },
{ _default: {} },
{ _default: {} } ] JavaScript (JSX) c:\git\rr\src\App\Offers\Offers.js
2015-05-28T18:17:00.487Z - verbose: [C:\Users\luis\.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=, , , , , , , ,
2015-05-28T18:17:00.488Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] [ { name: 'JSX',
namespace: 'jsx',
fallback: [ 'js' ],
grammars: [ 'JSX', 'JavaScript (JSX)' ],
extensions: [ 'jsx', 'js' ],
beautifiers: [ 'Pretty Diff', 'Pretty Diff', 'Pretty Diff', 'Pretty Diff' ] },
{ name: 'JavaScript',
namespace: 'js',
grammars: [ 'JavaScript' ],
extensions: [ 'js' ],
options:
{ indent_size: [Object],
indent_char: [Object],
indent_level: [Object],
indent_with_tabs: [Object],
preserve_newlines: [Object],
max_preserve_newlines: [Object],
space_in_paren: [Object],
jslint_happy: [Object],
space_after_anon_function: [Object],
brace_style: [Object],
break_chained_methods: [Object],
keep_array_indentation: [Object],
keep_function_indentation: [Object],
space_before_conditional: [Object],
eval_code: [Object],
unescape_strings: [Object],
wrap_line_length: [Object],
end_with_newline: [Object] },
beautifiers:
[ 'JS Beautify',
'Pretty Diff',
'Pretty Diff',
'Pretty Diff',
'Pretty Diff' ] } ] 'JavaScript (JSX)' 'js'
2015-05-28T18:17:00.488Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] [ 'jsx', 'js' ] 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=, , , , , , , ,
2015-05-28T18:17:00.489Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true indent_size=2, indent_char= , indent_with_tabs=false
2015-05-28T18:17:00.489Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx undefined
2015-05-28T18:17:00.489Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx indent_size=2, indent_char= , indent_with_tabs=false
2015-05-28T18:17:00.489Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js undefined
2015-05-28T18:17:00.489Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js indent_size=2, indent_char= , indent_with_tabs=false
2015-05-28T18:17:00.489Z - verbose: [C:\Users\luis\.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-28T18:17:00.489Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx undefined
2015-05-28T18:17:00.490Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx
2015-05-28T18:17:00.490Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options 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
2015-05-28T18:17:00.490Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options 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
2015-05-28T18:17:00.490Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true
2015-05-28T18:17:00.490Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx undefined
2015-05-28T18:17:00.490Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js undefined
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx undefined
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js undefined
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx undefined
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js undefined
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx undefined
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js undefined
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx undefined
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js undefined
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js
2015-05-28T18:17:00.491Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true
2015-05-28T18:17:00.492Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx undefined
2015-05-28T18:17:00.492Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx
2015-05-28T18:17:00.492Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js undefined
2015-05-28T18:17:00.492Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js
2015-05-28T18:17:00.492Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true
2015-05-28T18:17:00.492Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx undefined
2015-05-28T18:17:00.492Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx
2015-05-28T18:17:00.492Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js undefined
2015-05-28T18:17:00.492Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js
2015-05-28T18:17:00.492Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] true
2015-05-28T18:17:00.492Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx undefined
2015-05-28T18:17:00.492Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options jsx
2015-05-28T18:17:00.492Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js undefined
2015-05-28T18:17:00.492Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options js
2015-05-28T18:17:00.492Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] JavaScript (JSX) name=JSX, namespace=jsx, fallback=[js], grammars=[JSX, JavaScript (JSX)], extensions=[jsx, js], beautifiers=[Pretty Diff, Pretty Diff, Pretty Diff, Pretty Diff]
2015-05-28T18:17:00.492Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] options indent_size=2, indent_char= , indent_with_tabs=false, indent_level=0, 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
2015-05-28T18:17:00.493Z - verbose: [C:\Users\luis\.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=[CSV, ERB, EJS, HTML, XML, Spacebars, JSX, JavaScript, CSS, SCSS, Sass, JSON, TSS, LESS, Swig, Visualforce]
2015-05-28T18:17:00.493Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\index.coffee] JSX c:\git\rr\src\App\Offers\Offers.js { indent_size: 2,
indent_char: ' ',
indent_with_tabs: false,
indent_level: 0,
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 } 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=, , , , , , , ,
2015-05-28T18:17:00.494Z - verbose: [C:\Users\luis\.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=[CSV, ERB, EJS, HTML, XML, Spacebars, JSX, JavaScript, CSS, SCSS, Sass, JSON, TSS, LESS, Swig, Visualforce]
2015-05-28T18:17:00.494Z - verbose: [C:\Users\luis\.atom\packages\atom-beautify\src\beautifiers\beautifier.coffee] prettydiff inchar= , insize=2, alphasort=false, preserve=all, source=import React from 'react';
class MyComponent extends React.Component {
render() {
var data = [
1, 2, 3
];
return ( < div >
< anotherDiv className = "anotherDiv"
data = {
data
} > < /anotherDiv> < /div>
);
}
}, lang=jsx, mode=beautify
Beautify command (ctrl shift b):
Beautify on save: