erinata / FingerText

Tab triggered snippet plugin for Notepad++.
https://sourceforge.net/projects/fingertext/
146 stars 32 forks source link

How to edit the given param ? #59

Open nerzid opened 7 years ago

nerzid commented 7 years ago

Im writing snippets for JAVA.

e.g. get/set TriggerText: gs Lang: JAVA

public $[![{return_type}]!] get$[![{variable_name}]!]() {
    return $[![{variable_name}]!];
}

// Set method for $[![{variable_name}]!]
public void set$[![{variable_name}]!]($[![{return_type}]!] $[![{variable_name}]!]) {
    this.$[![{variable_name}]!] = $[![{variable_name}]!];
}

$[0[]0]
[>END<]

Output is

// Get method for bebek
public int getbebek() {
    return bebek;
}

// Set method for bebek
public void setbebek(int bebek) {
    this.bebek = bebek;
}

I want to make first character of "bebek" uppercase after get/set like

public void setBebek(int bebek){
        this.bebek = bebek;
}