Compare Chrome extensions: Caret Plugin::Pretty-JavaScript vs JS Beautifier settings tweaks
Stats | Caret Plugin::Pretty-JavaScript | JS Beautifier settings tweaks |
---|---|---|
User count | 533 | 61 |
Average rating | 4.20 | 5.00 |
Rating count | 5 | 2 |
Last updated | 2019-03-08 | 2020-04-28 |
Size | 28.41K | 41.48K |
Version | 1.0.1 | 0.3.3 |
Short description | |
---|---|
This plugin will format JavaScript in Caret Editor. | Changes jsbeautifier.org to have 4 spaces, no wrap, and be JSLint-happy by default. |
Full summary | |
A Caret Editor plug-in which allows for Pretty Print for JavaScript. If you find any issues with the plug-in please open an issue at the GitHub page. Note: You will need to configure Caret to see the plugin as it will not automatically. The following will help you configure Caret api.json You'll need to add the following to your api.json file, under settings menu. This plugin can pass the same options that JS-Beautify does in the 'options' tag. I left the default 'sampleMessage' in there for the example. Note: the options in Pretty-JavaScript, these can be any of the options from JS Beautifier https://github.com/beautify-web/js-beautify as this plug-in uses it and is just a wrapper for it to work in Caret. { "sampleMessage": { "id": "extension id goes here", |
Makes jsbeautifier.org use 4 spaces, JSLint-happy formatting and no character wrap length by default. |