Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Newlines are not indented #98

Closed
4 tasks done
yock opened this issue Jul 28, 2016 · 4 comments
Closed
4 tasks done

Newlines are not indented #98

yock opened this issue Jul 28, 2016 · 4 comments

Comments

@yock
Copy link

yock commented Jul 28, 2016

I am a nice person filing an feedback, idea or issue! ❤️

Inserting a newline does not put the cursor at the proper indentation level, with or without the "Auto Indent" setting enabled.

APM List

�[36mBuilt-in Atom Packages�[39m (89)
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

�[36mCommunity Packages (23)�[39m /Users/myockey/.atom/packages
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

└── (empty)

Relevant .editorconfig

root = true

[{*.rb,Rakefile}]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

Candy

🍬 🍬 🍬 🍬 🍬 🍬 🍬 🍬 🍬 🍬 🍬 🍬 🍬 🍬 🍬 🍬

  • provide a list of installed packages (try apm list),
  • provide possibly involved .editorconfig-files,
  • described exactly which behavior was expected and what happened instead and
  • send you some virtual 🍬 to make you happy.
@Arcanemagus
Copy link

Does it work with editor-config disabled? What about in safe mode (atom --safe)?

@yock
Copy link
Author

yock commented Jul 28, 2016

@Arcanemagus Behavior is the same with editorconfig disabled and in atom --safe mode. I noted that auto-indentation was disabled for language-ruby and enabled it, but the behavior was the same. I should add that this is Atom 1.8.0.

@Arcanemagus
Copy link

If the behavior is the same in safe mode, then it has nothing to do with this package. Since you mentioned Ruby, I'm guessing this is a problem with the language-ruby package, you might look into atom/language-ruby#7.

@yock
Copy link
Author

yock commented Jul 29, 2016

Agreed that this is not caused by editorconfig. Thanks.

@yock yock closed this as completed Jul 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants