[gedit-list] Add parameters with snippets



I need create a snippet for add function parameters automatically.

e.g

// Declaration function

void testFunction(para1 int, para2 float, para3 char);


// Definition function

void testFunction(para1 int, para2 float, para3 char)
{
        ............
        .........
        ....
}

end e.g


So, when I create the parameters of prototype function, the snippet add
the same parameters in the signature definition function.
I must be able to add any numbers of parameters.

How make a snippet for that?




Sorry for may bad English.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]