how can I edit code snippet cursor position JSON

Viewed 2256

My code snippets is;

  "echo": {
      "prefix": "echo",
      "body": [
          "echo \"\";"
      ],
      "description": "a"
  }

How I get cursor position in double quotes?

1 Answers

$0 signals the location of the final cursor stop

"echo": {
      "prefix": "echo",
      "body": [
          "echo \"$0\";"
      ],
      "description": "a"
  }
Related