Quickfix: Generate method from usage

Hi,

I am getting a lightbulb on an unknown method but it isn't giving me a
'generate method' option. The only option I get in the lightbulb is
'Rename'. I thought that this was meant to be in build 73, but I couldn't
find it so I waited for build 75 and I still can't find it. Am I looking in
the wrong place?

How do I generate a method from a usage?

Thanks

- Chris


4 comments
Comment actions Permalink

Chris,

Could you give more details about the place you have an unresolved
method at?

--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Chris Garty" <nospam_chris.garty@ip3systems.com> wrote in message
news:c4tfia$l06$1@is.intellij.net...

Hi,

>

I am getting a lightbulb on an unknown method but it isn't giving me a
'generate method' option. The only option I get in the lightbulb is
'Rename'. I thought that this was meant to be in build 73, but I couldn't
find it so I waited for build 75 and I still can't find it. Am I looking

in

the wrong place?

>

How do I generate a method from a usage?

>

Thanks

>

- Chris

>
>


0
Comment actions Permalink

Sorry, this functionallity was occasionally turned off in build 75. It will
be available in the next build.

--
Andrey Simanovsky
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"



"Chris Garty" <nospam_chris.garty@ip3systems.com> wrote in message
news:c4tfia$l06$1@is.intellij.net...

Hi,

>

I am getting a lightbulb on an unknown method but it isn't giving me a
'generate method' option. The only option I get in the lightbulb is
'Rename'. I thought that this was meant to be in build 73, but I couldn't
find it so I waited for build 75 and I still can't find it. Am I looking

in

the wrong place?

>

How do I generate a method from a usage?

>

Thanks

>

- Chris

>
>


0
Comment actions Permalink

Hi Oleg,

The unresolved method is just in the middle of a test case. I think Andrey's
comment about this being turned off has covered it.

Once this feature is working I should be able to put a call to a (not yet
implemented) method into a test case and then use the lightbulb to get
resharper to generate the method inside the class, right?

When this feature is enabled, will it be announced on the changes page?

Thanks

- Chris

"Oleg Stepanov (JetBrains)" <Oleg.Stepanov@JetBrains.Com> wrote in message
news:c4tlj0$jrh$1@is.intellij.net...

Chris,

>

Could you give more details about the place you have an unresolved
method at?

>

--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Chris Garty" <nospam_chris.garty@ip3systems.com> wrote in message
news:c4tfia$l06$1@is.intellij.net...

Hi,

>

I am getting a lightbulb on an unknown method but it isn't giving me a
'generate method' option. The only option I get in the lightbulb is
'Rename'. I thought that this was meant to be in build 73, but I

couldn't

find it so I waited for build 75 and I still can't find it. Am I looking

in

the wrong place?

>

How do I generate a method from a usage?

>

Thanks

>

- Chris

>
>

>
>


0
Comment actions Permalink

Chris,

This feature will be enabled in the very next build, so you probably
don't need a special notification on the changes page.
--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Chris Garty" <nospam_chris.garty@ip3systems.com> wrote in message
news:c5g33v$a12$1@is.intellij.net...

Hi Oleg,

>

The unresolved method is just in the middle of a test case. I think

Andrey's

comment about this being turned off has covered it.

>

Once this feature is working I should be able to put a call to a (not yet
implemented) method into a test case and then use the lightbulb to get
resharper to generate the method inside the class, right?

>

When this feature is enabled, will it be announced on the changes page?

>

Thanks

>

- Chris

>

"Oleg Stepanov (JetBrains)" <Oleg.Stepanov@JetBrains.Com> wrote in message
news:c4tlj0$jrh$1@is.intellij.net...

Chris,

>

Could you give more details about the place you have an unresolved
method at?

>

--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Chris Garty" <nospam_chris.garty@ip3systems.com> wrote in message
news:c4tfia$l06$1@is.intellij.net...

Hi,

>

I am getting a lightbulb on an unknown method but it isn't giving me a
'generate method' option. The only option I get in the lightbulb is
'Rename'. I thought that this was meant to be in build 73, but I

couldn't

find it so I waited for build 75 and I still can't find it. Am I

looking

in

the wrong place?

>

How do I generate a method from a usage?

>

Thanks

>

- Chris

>
>

>
>

>
>


0

Please sign in to leave a comment.