- Total 17K
- Win 7K
- Mac 7K
- Linux 3K
|Sep 29||Sep 28||Sep 27||Sep 26||Sep 25||Sep 24||Sep 23||Sep 22||Sep 21||Sep 20||Sep 19||Sep 18||Sep 17||Sep 16||Sep 15||Sep 14||Sep 13||Sep 12||Sep 11||Sep 10||Sep 9||Sep 8||Sep 7||Sep 6||Sep 5||Sep 4||Sep 3||Sep 2||Sep 1||Aug 31||Aug 30||Aug 29||Aug 28||Aug 27||Aug 26||Aug 25||Aug 24||Aug 23||Aug 22||Aug 21||Aug 20||Aug 19||Aug 18||Aug 17||Aug 16||Aug 15|
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