Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Make Atom smarter about guessing if a file uses soft or hard tabs - #2045

Merged
probablycorey merged 4 commits into
masterfrom
cj-tabs-be-weird
May 8, 2014
Merged

probablycorey merged 4 commits into
masterfrom
cj-tabs-be-weird

Conversation

@probablycorey

Copy link
Copy Markdown

Previously, block commits would screw up tab prediction. For example:

/**ruby
  * I'm a docblock directly at the start of a file with a space to line up the docblock
  */

Atom would previously assume this file uses softTabs because of the block comment using leading spaces. Now Atom will ignore comments when figuring out if a file uses soft or hard tabs.

probablycorey pushed a commit that referenced this pull request May 8, 2014
Make Atom smarter about guessing if a file uses soft or hard tabs
@probablycorey
probablycorey merged commit 5cf37fd into master May 8, 2014
@probablycorey
probablycorey deleted the cj-tabs-be-weird branch May 8, 2014 22:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant