- Total 6K
- Win 2K
- OS X 3K
- Linux 1K
|Mar 23||Mar 22||Mar 21||Mar 20||Mar 19||Mar 18||Mar 17||Mar 16||Mar 15||Mar 14||Mar 13||Mar 12||Mar 11||Mar 10||Mar 9||Mar 8||Mar 7||Mar 6||Mar 5||Mar 4||Mar 3||Mar 2||Mar 1||Feb 28||Feb 27||Feb 26||Feb 25||Feb 24||Feb 23||Feb 22||Feb 21||Feb 20||Feb 19||Feb 18||Feb 17||Feb 16||Feb 15||Feb 14||Feb 13||Feb 12||Feb 11||Feb 10||Feb 9||Feb 8||Feb 7||Feb 6|
Install Standard Format using Package Control.
# In the command palate - package control install - standard format
Standard Format (the Sublime Text Plug-in) requires that you install
standard either locally to your project or globally. It is recomended to save it to your local project.
$ npm install standard@latest --save-dev
You can find Standard Format settings in the
Standard Format is agressive about finding your developer dependencies. The search path that it uses by default are in the following order:
- User added paths: you can add an array of paths in your settings file. You shouldn't need to do this unless you are doing something weird.
node_modules/.binpaths found above the current file. Disable with
- If your current view isn't saved to disk, any any folders in the project will be walked towards root searching for
node_modules/.binto add to the path here. Disabled with
- The global user path is then used if nothing else is found. This is calculated by starting a bash instance and calculating the real user path, including
format_on_save: Boolean. Runs Standard Format on save when set to true. Use the command pallet to quickly toggle this on or off.
extensions: String Array. An array of file extensions that you want to be able to run Standard Format against.
command: Optional String Array. Customize the command and flags that Standard Format runs against.
loud_error: Boolean. Specifies if you get a status bar message or error window if the subprocess encounters an error while formatting.
log_errors: Boolean. Lets you log out errors encountered by the formatter. Mainly used to suppress noisy formatting errors.
Windows is now supported. Please open any issues that you come across.
Standard Format pairs nicely with the Sublime Text