[wingide-users] New Wing scripts: brace-match-inner and previous-brace-match-inner

Ram Rachum ram at rachum.com
Wed Oct 3 15:39:01 EDT 2012


Hello folks,

I released 2 new Wing IDE scripts as open source.

Script pages:
    http://wiki.wingware.com/BraceMatchInner
    http://wiki.wingware.com/PreviousBraceMatchInner

Here is what brace-match-inner does:

Select the inside of the current/next pair of braces.

Similar to Wing's built-in `brace-match`, except it selects only the inside
of the braces, not including the braces themselves.

Known limitations: Misses some pairs of braces. Doesn't know to ignore
braces found in strings.

Suggested key combination: `Alt-Bracketright`

Here's what previous-brace-match-inner does:

Select the inside of the previous pair of braces.

Similar to Wing's built-in `brace-match`, except it goes backwards instead
of going forwards. Goes to the nearest pair of braces, whether it's (), [],
or {} that's before the current caret position, and selects the content of
those braces, not including the braces themselves.

Known limitations: Misses some pairs of braces. Doesn't know to ignore
braces found in strings.

Suggested key combination: `Alt-Bracketleft`


The scripts are released under the MIT license. Download at GitHub:
https://github.com/cool-RR/cute-wing-stuff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/wingide-users/attachments/20121003/16108444/attachment.html>


More information about the wingide-users mailing list