Sublime Forum

Go to end of quotes/brackets/etc from snippet

#1

So let’s say I have a snippet that fills in the following code:

describe "autofill" do

end

That sets my cursor highlighting “autofill”. Great, so I start typing and replace ‘autofill’ with ‘monkeys’, then I want to either move my cursor inside the “do” block, or I want to skip to the end of the quotes. How is this done? I know I can either just type the quotes, or I can press “end” to go to the end of the line, or just move the cursor keys. I feel like there’s another way to do this, or should be, and i’m just not getting it. Another example.

object.format( datetime.time ( "when?" ) ) 

Where the cursor is highlighting 'when?".

So once I fill in, say “yesterday”, how do I get it to skip to the end of the parenthesis without reaching all the way over to the “end” key?

Thanks!

0 Likes

#2

Press TAB?

0 Likes

#3

You have got to be kidding me… I tried every key combo… except the most obvious one.

Thanks…

0 Likes

#4

No worries :wink:

0 Likes