Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Ruby mode not un-indenting on "end" statement #10829

Closed
frayer opened this issue Apr 4, 2015 · 2 comments
Closed

Ruby mode not un-indenting on "end" statement #10829

frayer opened this issue Apr 4, 2015 · 2 comments
Labels

Comments

@frayer
Copy link

frayer commented Apr 4, 2015

When editing Ruby files, a line is not un-indented or dedented when an "end" statement is encountered closing a block of code.

Steps

  1. Create a new Ruby "*.rb" file.

  2. Enter code like the following:

    def say_hi
        puts 'hi'
        end

I'm expecting that when I type the "d" in "end" that the line shifts back one indentation level. You can do the same on the CodeMirror Ruby test page and get the desired results.

https://codemirror.net/mode/ruby/index.html

Brackets Version
Release 1.2 build 1.2.0-15697 (release "8f82e2a97")
build timestamp: Sun Feb 22 2015 22:34:50 GMT-0800

OS version
OS X Yosemite
Version 10.10.2

Did this work in a previous version?
I've just recently started using Brackets as of 1.2, so I'm not aware of how it worked previously

Were Extensions Disabled?
Yes

Were any errors logged?
Nothing was logged

@peterflynn
Copy link
Member

This should be fixed by PR #9387

@ficristo
Copy link
Collaborator

ficristo commented Aug 7, 2016

Works for me.
Closing

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

No branches or pull requests

3 participants