Hi,
Since I started using heavily Xcode lately, I realized that I miss so much few TextMate features while working with Xcode editor. So I decided to fork BracketMatcher and make few TextMate inspired additions:
http://github.com/nanoant/xcode-bracket-matcher
* Auto closing of brackets and quotes: When you open a bracket or (double)quote, the plugin closes it for you and places the cursor (insertion point) between brackets (quotes). * Auto deletion of both brackets: When the cursor (insertion point) is between empty brackets (quotes), pressing backspace (delete) removes them both. * ] always wraps: Pressing ] when there is something selected, wraps the selection with square brackets, rather than replacing whole selection with]. * Whitespace display
Feel free to backport it to BracketMatcher.
Also I did new project:
http://github.com/nanoant/xcode-scripts
... where I gonna put my custom AppleScripts for Xcode. Now there are two: * Duplicate - that mimics TM's ⌃⇧D * Add Delimiter - that mimics TM's ⌥⌘↩
Cheers & happy easter,
On 2010-04-03, at 9:35 am, Adam Strzelecki wrote:
http://github.com/nanoant/xcode-bracket-matcher
- Auto closing of brackets and quotes: When you open a bracket or (double)quote, the plugin closes it for you and places the cursor (insertion point) between brackets (quotes).
- Auto deletion of both brackets: When the cursor (insertion point) is between empty brackets (quotes), pressing backspace (delete) removes them both.
- ] always wraps: Pressing ] when there is something selected, wraps the selection with square brackets, rather than replacing whole selection with].
- Whitespace display
Awesome Adam. I was missing those as well.
Ed Wong
On 3 Apr 2010, at 14:35, Adam Strzelecki wrote:
Since I started using heavily Xcode lately, I realized that I miss so much few TextMate features while working with Xcode editor.
…
Also I did new project where I gonna put my custom AppleScripts for Xcode.
Fantastic! Installing both of them now.
C --- Caius Durling caius@caius.name +44 (0) 7960 268 100 http://caius.name/