Skip to content

vscode extension to smartly add `end` keywords

License

Notifications You must be signed in to change notification settings

stripe/vscode-endsmart

Repository files navigation

Endsmart

Visual Studio Marketplace Version

A replacement for the endwise extension with the same objective: be able to intelligently add end statements when needed to Ruby blocks.

Compared to endwise, this extension tries to use more modern VSCode APIs rather than low-level command processing. The end result remains roughly the same but with better performance characteristics and generally behaving better in remote development scenarios by reducing typing latency.

Usage

Once installed from the marketplace, you will need to enable on-type formatting (globally or specifically for Ruby) for the extension to work properly (as it is implemented as a formatter).

Here is an example user configuration:

"[ruby]": {
  "editor.formatOnType": true
},

Contributing

This extension is voluntarily kept fairly simple and focused on doing its core job well. As a result we do not expect a tremendous amount of extra changes to be needed.

However contributions and feedback to this extension are still welcome, so please open issues for feature requests, questions and alike.

License

See LICENSE

Code of Conduct

This project has adopted the Stripe Code of Conduct. See CODE_OF_CONDUCT.md

About

vscode extension to smartly add `end` keywords

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published