Home Download Buy Blog Forum Support

insert_snippet command equivalent of ["$PARAM1", param1]

Re: insert_snippet command equivalent of ["$PARAM1", param1]

Postby jps on Sat Jun 25, 2011 10:23 am

In 2070, named arguments are now passed onto the snippet, for example:

Code: Select all
{
    "command": "insert_snippet",
    "args":
    {
        "contents": "Hello, ${name}",
        "name": "Bobo"
    }
}
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 2 guests