@phoenix-plugin-registry/hirse.brackets-detect-indentation

1.1.0 • Public • Published

npm Version Brackets Extension Registry Version Brackets Extension Registry Downloads

Build Status Greenkeeper

Brackets

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.

Package Sidebar

Install

npm i @phoenix-plugin-registry/hirse.brackets-detect-indentation

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

15 kB

Total Files

11

Last publish

Collaborators

  • ushmajit
  • core.ai