Ok, here is my example:
I have few keyboard shortcuts I created like:
{ “keys”: “ctrl+alt+shift+s”], “command”: “save_all” },
{ “keys”: “ctrl+shift+m”], “command”: “insert_snippet”, “args”: {“name”: “Packages/User/phptag.sublime-snippet” } },
{ “keys”: “ctrl+shift+o”], “command”: “insert_snippet”, “args”: {“name”: “Packages/User/opening_html_tag.sublime-snippet” } },
{ “keys”: “ctrl+shift+c”], “command”: “insert_snippet”, “args”: {“name”: “Packages/User/closing_html_tag.sublime-snippet” } }
]
Let’s take the PHP tag shortcut, my snippet looks like this and work fine:
]]>
PHP tag
I would like the cursor to be here when I insert my tags:
<?php **|**; ?>instead of having it at the end of the line every time like this:
<?php ; ?>**|**I would do the same thing for my other snippets.
Is it possible to do so?
How could it be possible?
Thank you very much for your help.
Gabriel