Sublime-HTMLPrettify icon indicating copy to clipboard operation
Sublime-HTMLPrettify copied to clipboard

HTML, CSS, JavaScript, JSON, React/JSX and Vue code formatter for Sublime Text 2 and 3 via node.js

Results 108 Sublime-HTMLPrettify issues
Sort by recently updated
recently updated
newest added

Hi, HTML-CSS-JS Prettify is not working on my MacBook Pro. ![Screen Shot 2024-03-18 at 11 26 47 AM](https://github.com/victorporof/Sublime-HTMLPrettify/assets/43202365/a867b5d5-224d-43e0-8a08-6f9557ea59b7) ![Screen Shot 2024-03-18 at 11 26 53 AM](https://github.com/victorporof/Sublime-HTMLPrettify/assets/43202365/ec64f7bf-e375-493b-bd35-69720a2a6907)

When using ? as optional chaining operator: `return brand?.brandId;` formatting the code will result in: `return brand ? .brandId;` which results in a javascript runtime error: SyntaxError: Unexpected token '.'

I searched issues but maybe not found. This tool is great but it should be updated with new es6 syntax ... For example it does not recognize ".?" eg. myObject?.myProp?.myNestedprop...

?.语法 会被格式化为 ? .

added "unindent-chained-methods" option expanded description of "brace_style" to include using preserve-inline with expand and end-expand options these options are in cli.js and work when added to the users .jsbeautifyrc

`console msg: Node.js was not found in the default path: [Errno 2] No such file or directory: 'nul' ` my nodejs path is correct