Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERB - do/end should have inner code indented #1167

Closed
4 tasks done
jasonivers opened this issue Sep 1, 2016 · 4 comments
Closed
4 tasks done

ERB - do/end should have inner code indented #1167

jasonivers opened this issue Sep 1, 2016 · 4 comments
Assignees

Comments

@jasonivers
Copy link

jasonivers commented Sep 1, 2016

Description

code inside do/end (<% do %> <% end %>) should be indented.

Expected Results

The beautified code should have looked like:

<ul>
  <% 3.times do |x| %>
    <li>This is item <%= x %></li>
  <% end %>
</ul>

Steps to Reproduce

  1. Add code to Atom editor
  2. Run command Atom Beautify: Beautify Editor
  3. This beautified code does not look right!

Debug

Here is a link to the debug.md Gist: https://gist.github.com/d0a31ccd2bc9bd02b5a1230e49fd01b0

Checklist

  • I have tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
  • I have reloaded (or restarted) Atom to ensure it is not a caching issue
  • Searched for existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues so I know this is not a duplicate issue
  • Generated debugging information and added link for debug.md Gist to this issue
@Glavin001
Copy link
Owner

Closing as Pretty Diff bug.

@NaldoColella
Copy link

This still doesnt work :(

@benpixel
Copy link

Still happening :(

@Glavin001
Copy link
Owner

Please follow #881 for any Pretty Diff updates. Pretty Diff is blocking this feature, not Atom-Beautify. Hopefully bugs like this will be resolved soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants