-
-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: insert closing delimiter #601
Comments
Hi! I think this might work better as a feature for To file a feature request for it, just use |
Hello! I'm a longtime on-again/off-again js2-mode user. Recently, I've been writing a lot of programs in Racket, and racket-mode has a very nifty feature that I've come to enjoy: when you type either
)
or]
, it will figure out the correct closing delimiter from context (whether)
or]
or}
or maybe even others) and insert that, so when I'm are at the end of a line or function I can just hit]
several times until everything is closed.JS has at least the variety of delimiters as Racket, and so I think a similar feature would be tremendously useful here, too. I've only ever been a user of js2-mode, not a developer, so I have no idea how difficult this would be to implement. Anyway, thanks!
The text was updated successfully, but these errors were encountered: