CoolFormat
A Sublime Text plugin for Source Code Formatter
Details
Installs
- Total 36K
- Win 22K
- Mac 8K
- Linux 6K
Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 2 | 0 | 0 | 3 | 0 | 3 | 2 | 0 | 0 | 4 | 1 | 0 | 0 | 0 | 4 | 0 | 3 | 2 | 0 | 2 | 0 | 0 | 4 | 0 | 3 | 1 | 1 | 5 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 2 | 5 | 2 | 0 | 2 | 0 | 0 | 1 | 1 | 0 | 3 |
Mac | 3 | 0 | 0 | 3 | 0 | 2 | 1 | 0 | 0 | 1 | 1 | 2 | 0 | 0 | 0 | 4 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 0 | 1 | 0 | 2 |
Linux | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 |
Readme
- Source
- raw.githubusercontent.com
Sublime-CoolFormat
Description
A Sublime Text plugin for Source Code Formatter. CoolFormat Source Code Formatter is a code formatter for C\C++\C#\CSS \HTML\Java\JavaScript\JSON\Objective-C\PHP\SQL\XML files.
Installation
With the Package Control plugin
The easiest way to install Sublime-CoolFormat is through Package Control.
Once you have Package Control installed, restart Sublime Text.
- Bring up the Command Palette (Ctrl+Shift+P on Windows and Linux. ⌘+⇧+P on OS X).
- Type “Install” and select “Package Control: Install Package”.
- Select “CoolFormat” from list.
The advantage of using Package Control is that it will keep Sublime-CoolFormat up to date.
Manual Install
Without Git:
Download the latest source code, and extract it to the Packages directory.
With Git:
Type the following command in your Sublime Text 2 or Sublime Text 3 Packages directory:
git clone https://github.com/akof1314/Sublime-CoolFormat.git
The “Packages” directory is located at:
Sublime Text 2
- Windows:
%APPDATA%\Sublime Text 2\Packages
- Linux:
~/.config/sublime-text-2/Packages/
- OS X:
~/Library/Application Support/Sublime Text 2/Packages/
Sublime Text 3
- Windows:
%APPDATA%\Sublime Text 3\Packages
- Linux:
~/.config/sublime-text-3/Packages/
- OS X:
~/Library/Application Support/Sublime Text 3/Packages/
Usage
Key Bindings
The default key bindings for this plugin:
Windows, Linux, OSX:
- Ctrl+Shift+Alt+Q: Quick Format.
- Ctrl+Shift+Alt+S: Selected Format.
Command Palette
Open the command palette, it appears as CoolFormat: Quick Format
and CoolFormat: Selected Format
and CoolFormat: Formatter Settings
.
Settings
Before starting, you may want to have a look at CoolFormatConfig.cfconfig.
Please visit http://akof1314.github.io/CoolFormat/doc/index.html for more information.