Community
Participate
Working Groups
Add autocompletion of parens/brackets ( {}, (), <> ) to the editor actions.
https://github.com/gabrielluong/orion.client/commit/39fd0e875fde2c25cc51b399f247e7245825a5d5
So, this editor feature works when you type any opening brackets ('{', '(', '<', '[') or single / double quotations, and the bracket / quotation will automatically be closed with the cursor remaining in between. When text is selected, the brackets / quotations will be appended around the text and the text selection will remain.
https://github.com/gabrielluong/orion.client/commit/8ae96b5cb7ff57fb105d64372cfa264aa9c0f786 Added handling of backspace and entering of closing brackets and additional quotation marks.
https://github.com/gabrielluong/orion.client/commit/ef9abdfd895a0a171f7033a725cac88585e829b2 Undo removal _lastEditListener (that was an accidental mistake)
^ Dismiss the latest patch. There is some additional edge cases I still need to work out.
https://github.com/gabrielluong/orion.client/commit/3825f3bc5ae646c8e3a418cca20f8c963736c350 This should be the final patch. The autocompletion of brackets and quotations should behave similarly to sublime. Adding Simon and Ken to see if they have any feedback.
https://github.com/gabrielluong/orion.client/commit/c2f2cd51f029b46339f5c3effbcfcfa52e0ae151
pushed http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=9c21f2f27f96bed0c2933f58718558f3ec94b5ee