Insert little snippet with one shortcut.
Fast Snippet can only be triggered by defining your keybindings.
Adding this in config into your keybindings.json
and your will be able to insert
Fast Snippet also support cursor position offset, you can set where to put your cursor after text inserted.
See this example:
This will let you insert a pair of
You can do the same things to
This can be extremely handy if you don't wan't editor to auto-close brackets for you. (It's just not smart enough).
If your cursor offset is 0 , Fast Snippet will assume you may not intend to use this snippet with selection (like the
If your cursor offset smaller than 0, and you have one or more selections, Fast Snippet will do the following steps:
So if you have some text surrounded by selection, triggering
Nothing in my mind yet, maybe you can tell me ?