How to add parameters using the extract method dialog?

I want to extract this into a  method that parameterizes the strings, but my IntelliJ dialog doesn't seem to let me add my own parameters to the function.

var thing:Thing = new Thing("string1", "string2");

How do you add parameters to a function within this dialog?

I'm using ActionScript.

1 comment
Comment actions Permalink

You will need to extract parameter from string after extracting the method

On 12/19/2013 3:08 AM, Phillip Knoll wrote:

I want to extract this into a  method that parameterizes the strings, but my IntelliJ dialog doesn't seem to let me add my own parameters to the function.

>

var thing:Thing = new Thing("string1", "string2");

>

How do you add parameters to a function within this dialog?

>

I'm using ActionScript.

>

---
Original message URL: http://devnet.jetbrains.net/message/5505983#5505983

>

0

Please sign in to leave a comment.