I have this getterandsetter snippet:
${2:int} get${1/\b(\w*)\b/\u\1/g:Var}(){
return ${1:Var};
}
void set${1/\b(\w*)\b/\u\1/g:Var}(${2:int} p_${1:var}){
${1:var}=p_${1:var};
}
And it gets pretty annoying to put the type everytime it’s not an int. Unless I can search the file for the variable type, I think the only way to avoid that to some extent would be to remember the last used type, so I only need to change it once for the next variable row. Is it possible?