W
W
Web Lizard2016-04-07 12:54:45
Sublime Text
Web Lizard, 2016-04-07 12:54:45

How to put cursor in Emmet snippet?

I wrote this snippet for emmet

"php": {
  "snippets": {
    "pre": "echo '<pre>';\necho '</pre>';"
  }
}

But I would like the cursor to be placed immediately after the first pre and not at the very end. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Taratin, 2016-04-07
@Lizard-108

${1} - where we want to put the cursor

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question