Re: [gedit-list] Add parameters with snippets



You can't, this is not what snippets were designed for.

2015-04-27 15:51 GMT+02:00 Matheus Saraiva <matheus saraiva gmail com>:
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.

_______________________________________________
gedit-list mailing list
gedit-list gnome org
https://mail.gnome.org/mailman/listinfo/gedit-list



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