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

# Description Zulip defines a custom Handlebars helper `{{#tr}}` for translation, but when it happens to be [used inside a table cell](https://github.com/zulip/zulip/blob/0df4d8eb172bee9988d0a33c251368d2c2aa08ae/static/templates/search_operators.hbs#L15), js-beautify seemingly confuses it with a `` (table...

language: html
type: bug
good first issue

# Description - Fix for issue#1929 The issue is caused by assuming that a '}' after a case statement always means the end of case block. Modified the code to...

# Description # Input The code looked like this before beautification: ``` test Hello world ``` # Expected Output The code should have looked like this after beautification: ``` testHello...

language: html
type: bug

# Description The repository does not have a lot of examples of what the different config options are supposed to mean other than the info in `README.md` file, this makes...

documentation

See #506. This is the kind of bug that is much less likely to occur if you actually tokenize instead of just streaming through characters spewing output.

type: enhancement
language: css

# Description A new feature flag (ex: `stripDefaultValues`) removes json keys that have default json values: `null`, `zero` (integer / number), `empty array`, `empty object` and boolean `false`. _Note: empty...

type: enhancement
language: json

**Do Not Merge This** Experiment - css tokenizer Definitely not correct code, just me experimenting with possibilities, I did not commit a lot of the code so it is lost.

There should be clearer documentation about "good-stuff" option. What does it do? At least approximately.

type: enhancement
type: task
language: javascript

Don't work in vscode with this config. vscode version: 1.62.1 mac Don't work indent-scripts in vue files. "vetur.format.defaultFormatter.html": "js-beautify-html", "vetur.format.defaultFormatterOptions": { // Wrap the attribute. // - auto: Wraps the...

status: needs more info

# Description When formatting a CSS file with django template tags or an HTML file which contains django template inside `` tag, styles are not formatted correctly. # Input The...

type: enhancement
language: css
language: typescript