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

[Feature] Add class/module/method names after 'end' keyword #80

Open
BartlomiejSkwira opened this issue Nov 22, 2015 · 1 comment
Open

Comments

@BartlomiejSkwira
Copy link

Would it be possible to have commented-out class/module/method names automatically added behind end keywords? Example:

module Module
  class Superclass
    class Subclass
      def foo
      end # def foo
    end # class Subclass

    class SubclassB
    end # class SubclassB
  end # class Superclass
end # module Module
@tpope
Copy link
Owner

tpope commented Nov 22, 2015

I think so with the right regex fu.

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

No branches or pull requests

2 participants