Skip to content

gt-rios/detect-indentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Detect Indentation

A fast and minimal detect indentation package for Atom. The detection algorithm comes from the popular auto-detect-indentation package, which is no longer maintained.

Install

Run the following command:

apm install detect-indentation

Features

  • Fast and minimal by design: this package only attempts to detect the indentation for the active editor once, when it is opened.
  • Easily change the indentation for the active editor at any time with the indentation selector by:
    clicking the indentation button in the Status Bar, or selecting Packages > Detect Indentation > Show Selector in the Menu Bar, or running the Detect Indentation: Show Selector command in the Command Palette.
  • Displays the indentation for the active editor in the Status Bar.

Keymap

To add a keyboard shortcut to show the indentation selector, add the detect-indentation:show-selector command to your keymap.cson file. For example:

'atom-text-editor':
  'ctrl-i': 'detect-indentation:show-selector'

About

A fast and minimal detect indentation package

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published