Method auto-completion should respect line contents

Scenario:

I have a line like this (I'm in the middle of making changes):

someVariable;

I would like to end up with this:

someMethod(someVariable);

I start typing up to the * and press CTRL+Space:

someM*someVariable;

I end up with:

someMethod(); someVariable;

Given that the method expects a parameter, I would have preferred to end up
with this:

someMethod(someVariable;

Well, ideally, of course, I would prefer "someMethod(someVariable);" but
then ReSharper would have to read my mind. :)

Thanks!
-Michael


0
6 comments
Avatar
Permanently deleted user

> IDEA would have to read my mind

I believe thy're still porting the clairvoyance module from Java.

:)

0
Avatar
Permanently deleted user

Please post this issue as feature to our tracker. We will discuss it.

Thank you.

--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Michael Teper" <michael.dot.teper@convade.dot.com> wrote in message
news:c0jh7c$d54$1@is.intellij.net...

Scenario:

>

I have a line like this (I'm in the middle of making changes):

>

someVariable;

>

I would like to end up with this:

>

someMethod(someVariable);

>

I start typing up to the * and press CTRL+Space:

>

someM*someVariable;

>

I end up with:

>

someMethod(); someVariable;

>

Given that the method expects a parameter, I would have preferred to end

up

with this:

>

someMethod(someVariable;

>

Well, ideally, of course, I would prefer "someMethod(someVariable);" but
then ReSharper would have to read my mind. :)

>

Thanks!
-Michael

>
>


0
Avatar
Permanently deleted user

Added under #782
(http://www.intellij.net/tracker/resharper/viewSCR?publicId=782).

-Michael

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

Please post this issue as feature to our tracker. We will discuss it.

>

Thank you.

>

--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Michael Teper" <michael.dot.teper@convade.dot.com> wrote in message
news:c0jh7c$d54$1@is.intellij.net...

Scenario:

>

I have a line like this (I'm in the middle of making changes):

>

someVariable;

>

I would like to end up with this:

>

someMethod(someVariable);

>

I start typing up to the * and press CTRL+Space:

>

someM*someVariable;

>

I end up with:

>

someMethod(); someVariable;

>

Given that the method expects a parameter, I would have preferred to end

up

with this:

>

someMethod(someVariable;

>

Well, ideally, of course, I would prefer "someMethod(someVariable);" but
then ReSharper would have to read my mind. :)

>

Thanks!
-Michael

>
>

>
>


0
Avatar
Permanently deleted user

Thank you

--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Michael Teper" <michael.dot.teper@convade.dot.com> wrote in message
news:c0qsmr$h41$1@is.intellij.net...

Added under #782
(http://www.intellij.net/tracker/resharper/viewSCR?publicId=782).

>

-Michael

>

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

Please post this issue as feature to our tracker. We will discuss it.

>

Thank you.

>

--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Michael Teper" <michael.dot.teper@convade.dot.com> wrote in message
news:c0jh7c$d54$1@is.intellij.net...

Scenario:

>

I have a line like this (I'm in the middle of making changes):

>

someVariable;

>

I would like to end up with this:

>

someMethod(someVariable);

>

I start typing up to the * and press CTRL+Space:

>

someM*someVariable;

>

I end up with:

>

someMethod(); someVariable;

>

Given that the method expects a parameter, I would have preferred to

end

up

with this:

>

someMethod(someVariable;

>

Well, ideally, of course, I would prefer "someMethod(someVariable);"

but

then ReSharper would have to read my mind. :)

>

Thanks!
-Michael

>
>

>
>

>
>


0
Avatar
Permanently deleted user

Michael,

Implemented in build 65. Expect it today.

--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Michael Teper" <michael.dot.teper@convade.dot.com> wrote in message
news:c0qsmr$h41$1@is.intellij.net...

Added under #782
(http://www.intellij.net/tracker/resharper/viewSCR?publicId=782).

>

-Michael

>

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

Please post this issue as feature to our tracker. We will discuss it.

>

Thank you.

>

--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Michael Teper" <michael.dot.teper@convade.dot.com> wrote in message
news:c0jh7c$d54$1@is.intellij.net...

Scenario:

>

I have a line like this (I'm in the middle of making changes):

>

someVariable;

>

I would like to end up with this:

>

someMethod(someVariable);

>

I start typing up to the * and press CTRL+Space:

>

someM*someVariable;

>

I end up with:

>

someMethod(); someVariable;

>

Given that the method expects a parameter, I would have preferred to

end

up

with this:

>

someMethod(someVariable;

>

Well, ideally, of course, I would prefer "someMethod(someVariable);"

but

then ReSharper would have to read my mind. :)

>

Thanks!
-Michael

>
>

>
>

>
>


0
Avatar
Permanently deleted user

Sweet! :)

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

Michael,

>

Implemented in build 65. Expect it today.

>

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



0

Please sign in to leave a comment.