Monday, 29 December 2014

Sublime Text Code Formatter and Beautifier

Steps to install Sublime Text Code Formatter and Beautifier

  1. https://sublime.wbond.net/installation   
  2. Download manually "Package Control.sublime-package"
  3. Copy downloaded file inside C:\Program Files\Sublime Text 3\Packages  folder
  4. Open sublime text
  5. Press Shift + Ctrl + P
  6. Select "Package Control: Install Package", wait while Package Control fetches the latest package list, then select CodeFormatter when the list appears.

    The advantage of using this method is that Package Control will automatically keep CodeFormatter up to date with the latest version.

After installation
To Format or Beautify any code press: Ctrl + Alt + F