Skip to content
Brackets extension to switch tabs to spaces
Branch: master
Clone or download
davidderaedt Merge pull request #5 from tomByrer/master
v1.1 +spaceDefaultToTab (4 to arbitrary), Moved into Edit menu, impoved Readme
Latest commit 07b7433 Jun 15, 2013
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENCE Create LICENCE Dec 17, 2012
README.md Moved menu into Edit, where it resides in many other editors. Jun 14, 2013
main.js ensured blank lines were whitespaceless Jun 14, 2013
package.json
test copy.txt Now uses the actual tab width from codemirror Jun 28, 2012
test.txt Enhancement: fix lines with mixed indentation (using tabs AND spaces)… Jun 27, 2012

README.md

Brackets Tab to space

A Brackets extension to convert tab based identation to space based identation and vice versa.

How to install

Brackets: Menu > File > Extension Manager, [Install from URL...] and paste ZIP url above.

####Or manually

  1. Download ZIP
  2. Unzip in user folder in Brackets > Help > Show Extensions Folder
  3. Restart Brackets

Compatible with Brackets Sprint10

Usage

Simply open a project in Brackets, and select Convert indentation to spaces or Convert indentation to tabs from the Edit menu.

This will replace tabs with N spaces, and replace N spaces at the begining of each line with a tab (N being the tab length defined in the editor, 4 being the default).

Convert 4-space indentation to tabs will replace 4 spaces at the begining of each line, regardless of editor defaults.

History

v 1.1

  • Convert 4-space indentation to tabs
You can’t perform that action at this time.