Skip to content
Wisely add "end" in Ruby.
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images Prepare v1 Jun 6, 2017
src Rework linebreaks and indentation correction Oct 5, 2018
test Initial import May 23, 2017
.gitignore Initial import May 23, 2017
.vscodeignore Initial import May 23, 2017
CHANGELOG.md
LICENSE
README.md Update README May 29, 2017
package-lock.json Reenable new algorithm Jun 2, 2017
package.json Bump version Oct 13, 2018
tsconfig.json Initial import May 23, 2017
vsc-extension-quickstart.md

README.md

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 🙄
You can’t perform that action at this time.