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

Typing do and pressing enter should automatically insert end #213

@ecbrodie

Description

@ecbrodie

Your environment

  • vscode-ruby version: 0.15.0
  • Ruby version: 2.4.1
  • VS Code version: 1.16.1
  • Operating System: MacOS 10.12.6

Steps to reproduce the problem

Create a block by typing a statement that ends with do and press enter.

Expected behavior

The newline is given one additional level of indentation. Another line that just has theend keyword is automatically inserted on a line below the cursor.

Actual behavior

The line with end is not automatically inserted, so I am forced to tediously type this in. The new line is indented, however.

Please PR this into this extension. This really keeps me from being able to use VSCode as an IDE for my Ruby code. This is a feature that's available in other modern IDEs for Ruby, such as RubyMine and Atom.

Notes

I wonder if there are elements of this issue related to #210.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestAdds currently unsupported functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions