atom / bracket-matcher

Jump to brackets
MIT License
142 stars 98 forks source link

Suggestion: Tab to jump beyond auto-inserted bracket #240

Open crantok opened 8 years ago

crantok commented 8 years ago

Just installed Atom on a new machine and saw a cool, new (to me) feature of autcomplete-plus / autocomplete-go that allows you to tab from argument to argument in an autocompleted function call and then beyond the final parenthesis.

I habitually turn off the auto-insertion features of bracket-matcher because of the need to change to navigation keys / mouse to get beyond the inserted bracket. If I could just hit tab to jump beyond the auto-inserted bracket then that would fix this irritation for me.

janat08 commented 7 years ago

maybe if u just press enter and backspace to remove indent it could move the bracket to the line above the cursor, or just delete the awkward ending brackets.

klausetgeton commented 7 years ago

It's annoying having to use cursor to get inside the brackets, if there was just a config to jump inside as '[], (), and {}' does.

ignat980 commented 7 years ago

Oh I second this!!! If using snippet syntax, the fix is to automatically add a tab-stop after the closing symbol, ie "()$1". I'm not sure how snippets get converted from the config to the editor, but I bet the solution is really simple.

seanahrens commented 5 years ago

I third this! I don't understand how auto-inserting brackets is helpful if I need to move my hand off the home keys to hit the right arrow in order to get past the bracket-- for me, it's making typing code harder, not easier. Without bracket-matcher I can type the end bracket while keeping my hands on the home keys. What am I missing? Because I imagine I'm missing something.