For example, in perl code $obj->method(), I want to automatically replace $obj. with $obj->
I tried to use snippets to achieve this:
...
"Object->": {
"prefix": ".",
"body": [
"->$0"
],
"description": ". convert to ->"
}
But when inputting . and TAB key, it cannot be triggered effectively.
What’s the problem?
Please help, thank you very much.
New contributor
rob cheung is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.