Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

context-aware bracket wrapping #3

Closed
ymendel opened this issue Oct 16, 2013 · 2 comments
Closed

context-aware bracket wrapping #3

ymendel opened this issue Oct 16, 2013 · 2 comments

Comments

@ymendel
Copy link

ymendel commented Oct 16, 2013

It would be awesome if the bracket wrapping knew about where I was at the moment and was was acceptable. I super, super want to be in a double-quoted string in a language like Ruby, have something selected, hit # and see it wrapped correctly, like so:

  1. I'm in some code like var = "@something-name"
  2. I select @something
  3. I hit #
  4. I get var = "#{@something}-name"
@deiga
Copy link
Contributor

deiga commented Sep 18, 2014

I'm currently working on this, but can't get tests to work, since I can't figure out how to specify in what scope the editor currently is.

@kevinsawicki
Copy link
Contributor

Fixed by #70

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants