Open thaiat opened 9 years ago
Interesting idea, I like it. But sorry, it's not in there right now. You can work around by assigning the value on the command-line when you calll the beautifier.
This shouldn't be too hard to do, but there are a number of higher priority feature ahead of it.
@thaiat not sure your use-case, but in case you're looking for a temporary work-around - I use another library for json formatting. jsonlint to be exact
@olsonpm does it have an integration with sublime ?
My use case is that i use HTML/CSS/JS Prettify
plugin in sublime and before i save the file i do Shift+Cmd+H to run beautify on the current file.
I don't use sublime, but this package seems like it fits your needs:
@olsonpm nice thks!!!
Related: #391.
Is there a way to have different beautification rules for
.js
and.json
files in the same.jsbeautifyrc
file. For example my use case is 4 indent_size forjs
and 2 forjson