dnamsons / vscode-endwise

Wisely add "end" in Ruby.

Home Page:https://marketplace.visualstudio.com/items?itemName=kaiwood.endwise

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vscode-endwise

This is an extension that wisely adds the "end" keyword to code structures in Ruby 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 (Lua, Bash, etc.)
  • Add a gif with code that actually makes sense 🙄

About

Wisely add "end" in Ruby.

https://marketplace.visualstudio.com/items?itemName=kaiwood.endwise

License:MIT License


Languages

Language:TypeScript 100.0%