js-beautify icon indicating copy to clipboard operation
js-beautify copied to clipboard

Beautifier for javascript

Results 179 js-beautify issues
Sort by recently updated
recently updated
newest added

The change that I made in #1973 might cause a backwards compatibility issue on complex XML expressions. It is able to handle expressions like this one: https://github.com/beautify-web/js-beautify/blob/37098bafd1d22cbc5c9f1ede30268fa86e26fea2/test/data/javascript/tests.js#L2178 However, if the...

type: bug
language: javascript

# Description I can see this has been a problem before (#1401), but this issue still exists. See line 29. It is at 103 out of 120 possible columns, yet...

type: bug
type: enhancement

# Description Line wrapping does not work for HTML containing SVGs. # Input The code looked like this before beautification: ``` ``` # Actual Output ``` ``` ## Settings ```json...

# Description If an `if` statement contains a single `try..catch` statement, only the `try` block will get indented correctly. The `catch` block will be indented as if it were outside...

type: bug
language: javascript

# Description [Phoenix](https://www.phoenixframework.org/) is a web framework in [Elixir](https://elixir-lang.org/) which uses some special server-side HTML tags. Right now, the result is pretty good. I think the only missing thing is...

type: enhancement
language: templating
implementation: javascript

# Description Currently, I can choose between `auto`, which puts multiple attributes on the same line when wrapping, and `force`, which always inserts a new line. # Input With this...

# Description **Allman style formatting for JavaScript required as below:** 1) start and end braces on separate lines 2) start and end square brackets on separate lines 3) array items...

# Description * Add an option to not indent lines containing only `` When I say not indent, I mean "put them at the head of the line" (if they...

type: enhancement
language: templating

# Description Part of the PHP code changed while this wasn't expected: (it was indented, it lost indentation). Command: `html-beautify -r -t --templating=php --end-with-newline=true -b expand "file"` # Input The...

type: bug
language: templating

# Description Follow up to #1968 for JavaScript implementation. - [ ] Source branch in your fork has meaningful name (not `main`) Fixes Issue: # Before Merge Checklist These items...