/vscode-endwise

Wisely add "end" in Ruby.

Primary LanguageTypeScriptMIT LicenseMIT

vscode-endwise

This is an extension that wisely adds the "end" keyword to code structures in languages like Ruby or Crystal while keeping the correct indentation levels. Inspired by tpope's endwise.vim.

Endwise

Just hit enter to get your block automagically closed. ctrl+enter / cmd+enter closed from the middle of the line as well.

TODO

  • Wisely detect already closed blocks to skip additional "end"'s
  • Add support for more languages:
    • Crystal
    • Lua
    • Bash
    • Elixir
  • Add a gif with code that actually makes sense 🙄