hirse.brackets-detect-indentation
v1.1.0
Published
Detects the indentation used in the current document and sets the editor settings accordingly.
Downloads
4
Readme
Brackets Detect Indentation
Brackets Extension to detect the indentation used in the current file and set your editor settings accordingly.
This extension is using detect-indent for the actual detection.
Installation
Latest Release
To install the latest release of this extension use the built-in Brackets Extension Manager which downloads the extension from the Brackets Extension Registry.
Latest Commit
To install the latest commit of this extension use the built-in Brackets Extension Manager which has a function to Install from URL...
using this link:
https://github.com/Hirse/brackets-detect-indentation/archive/master.zip
Brackets npm Registry
The latest release of this extension is also available on the Brackets npm Registry.
Usage
This extension adds two buttons to the indentation indicator in the status bar.
Click the A
to toggle automatic indentation detection on file change or click the D
to detect the indentation of the current file manually.
Use the settings defaultSpaceUnits
and defaultUseTabChar
to define a fallback for the case that the detection fails.
{
"hirse.detect-indentation.defaultSpaceUnits": 4,
"hirse.detect-indentation.defaultUseTabChar": false
}
License
Brackets Detect Indentation is licensed under the MIT license.
detect-indent itself is also licensed under the MIT license.