Skip to content

Latest commit

 

History

History
37 lines (18 loc) · 1.42 KB

README.md

File metadata and controls

37 lines (18 loc) · 1.42 KB

brackets-fixmyjs

Brackets Extension for fixmyjs.

Automagically fix JSHint lint warnings using fixmyjs

Install

Search for "fixmyjs" in Extension Manager, then click on Install for FixMyJS by Drew Fyock.

Alternative Install

Download zip and extract into arbitrary directory (or clone source files), then move the folder to the extensions folder (you can open this folder by clicking "Help > Show Extensions Folder" menu).

##Usage

Edit > FixMyJS menu or Alt-Shift-L(Mac) / Alt-Shift-L(Win) key.

Issues with the output should be reported on the fixmyjs issue tracker.

Can also be run on just a selection. For example the code in a <script> tag.

Legacy mode

By default, this plugin uses the FixMyJS legacy mode. This option uses the last stable version of the module which uses JSHint to detect errors in your code and fix them.

It does not include all of the fixes the current version of FixMyJS exposes, but does do a much better job of preserving source formatting. Legacy mode can be disabled in the Settings.

License

MIT © Drew Fyock