5 comments
Comment actions Permalink

You should position the caret at the name of a class and this class should
be not the only top-level class declared in the file.

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Matt Berther" <mberther@hotmail.com> wrote in message
news:caqfgk$sop$1@is.intellij.net...

I'm having a tough time getting the Extract Type menu option to get

enabled. Can you please detail how this is supposed to work?
>

--
Matt Berther
http://www.mattberther.com



0
Comment actions Permalink

Hello Valentin,

Thanks for the clarification. I confused this with extracting methods into a separate class. Will this type of functionality be offered by Resharper?

You should position the caret at the name of a class and this class
should be not the only top-level class declared in the file.

"Matt Berther" <mberther@hotmail.com> wrote in message
news:caqfgk$sop$1@is.intellij.net...

>> I'm having a tough time getting the Extract Type menu option to get
>>

enabled. Can you please detail how this is supposed to work?

>> --
>> Matt Berther
>> http://www.mattberther.com
--

--
Matt Berther
http://www.mattberther.com

0
Comment actions Permalink

What do you mean by extracting methods into a separate class? Please
explain.

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Matt Berther" <mberther@hotmail.com> wrote in message
news:casej4$gbn$1@is.intellij.net...

Hello Valentin,

>

Thanks for the clarification. I confused this with extracting methods into

a separate class. Will this type of functionality be offered by Resharper?
>

You should position the caret at the name of a class and this class
should be not the only top-level class declared in the file.

>

"Matt Berther" <mberther@hotmail.com> wrote in message
news:caqfgk$sop$1@is.intellij.net...

>
>> I'm having a tough time getting the Extract Type menu option to get
>>

enabled. Can you please detail how this is supposed to work?

>
>> --
>> Matt Berther
>> http://www.mattberther.com
--

>

--
Matt Berther
http://www.mattberther.com



0
Comment actions Permalink

Hello Valentin,

public class Foo
{
public void Method1()
{
...
}

public void Method2()
{
...
}

public void Method3()
{
...
}
}

Lets say that Method1 and Method2 were not really appropriate to class Foo. What I was expecting Extract Type to do was to let me highlight Method1 and Method2 and move them into a separate class.

What do you mean by extracting methods into a separate class? Please
explain.

"Matt Berther" <mberther@hotmail.com> wrote in message
news:casej4$gbn$1@is.intellij.net...

>> Hello Valentin,
>>
>> Thanks for the clarification. I confused this with extracting methods
>> into
>>

a separate class. Will this type of functionality be offered by
Resharper?

>>> You should position the caret at the name of a class and this class
>>> should be not the only top-level class declared in the file.
>>>
>>> "Matt Berther" <mberther@hotmail.com> wrote in message
>>> news:caqfgk$sop$1@is.intellij.net...
>>>
>>>> I'm having a tough time getting the Extract Type menu option to get
>>>>
>>> enabled. Can you please detail how this is supposed to work?
>>>
>>>> --
>>>> Matt Berther
>>>> http://www.mattberther.com
>> --
>>
>> --
>> Matt Berther
>> http://www.mattberther.com
--

--
Matt Berther
http://www.mattberther.com

0
Comment actions Permalink

I see. Anyway we'll probably drop separate menu item for moving type to
separate file and merge it with Move Type.

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Matt Berther" <mberther@hotmail.com> wrote in message
news:casgmi$vq6$1@is.intellij.net...

Hello Valentin,

>

public class Foo
{
public void Method1()
{
...
}

>

public void Method2()
{
...
}

>

public void Method3()
{
...
}
}

>

Lets say that Method1 and Method2 were not really appropriate to class

Foo. What I was expecting Extract Type to do was to let me highlight Method1
and Method2 and move them into a separate class.
>

What do you mean by extracting methods into a separate class? Please
explain.

>

"Matt Berther" <mberther@hotmail.com> wrote in message
news:casej4$gbn$1@is.intellij.net...

>
>> Hello Valentin,
>>
>> Thanks for the clarification. I confused this with extracting methods
>> into
>>

a separate class. Will this type of functionality be offered by
Resharper?

>
>>> You should position the caret at the name of a class and this class
>>> should be not the only top-level class declared in the file.
>>>
>>> "Matt Berther" <mberther@hotmail.com> wrote in message
>>> news:caqfgk$sop$1@is.intellij.net...
>>>
>>>> I'm having a tough time getting the Extract Type menu option to get
>>>>
>>> enabled. Can you please detail how this is supposed to work?
>>>
>>>> --
>>>> Matt Berther
>>>> http://www.mattberther.com
>> --
>>
>> --
>> Matt Berther
>> http://www.mattberther.com
--

>

--
Matt Berther
http://www.mattberther.com



0

Please sign in to leave a comment.