Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to edit the given param ? #59

Open
nerzid opened this issue Dec 10, 2016 · 0 comments
Open

How to edit the given param ? #59

nerzid opened this issue Dec 10, 2016 · 0 comments

Comments

@nerzid
Copy link

nerzid commented Dec 10, 2016

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;
}
@nerzid nerzid changed the title How to change the given param ? How to edit the given param ? Dec 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant