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

Add refactoring: Change signature (append parameter) #11

Open
justcla opened this issue Jul 1, 2016 · 0 comments
Open

Add refactoring: Change signature (append parameter) #11

justcla opened this issue Jul 1, 2016 · 0 comments

Comments

@justcla
Copy link
Owner

justcla commented Jul 1, 2016

Example:

Method already exists: Foo(Bar bar1);

While calling it we decide to add another parameter:
Foo(myBar1, myBar2);

Lightbuld should suggest "Change signature of Foo to add Bar as 2nd parameter"
and result in a new parameter added to the Foo method:
eg. Foo(Bar bar1, Bar bar2);
and updates all other calls to include some default value for the second parameter (or provide a change signature dialog that allows you to specify what the new default value might be).

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