Live Template Bug?

I can't seem to get the live template "cwv" working correctly. Maybe I'm
missing something. Here's an example ('|' denotes the cursor position):

Given:
int i = 10 ;

I type:
cwv|]]>

I get:
Console.Out.WriteLine ( "i = " + |i ); { i is highlighted }

I type:
"i" and then "." to try to select ToString()

Instead I get:
Console.Out.WriteLine ( "i = " + i. );|
with a completion suggest dialog at the cursor position with "i" selected.

Has anyone else seen this? Is there a way to get members without getting
kicked out of the template?

Thanks,
Derek Price






5 comments
Comment actions Permalink

Derek,

I just tried your case on the latest build (89) and it works fine.
Probably it was a problem in 88. Please wait until 89 is released and report
if the problem persists.

Thank you

--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Derek Price" <dprice@doble.com> wrote in message
news:cbc0jl$soj$1@is.intellij.net...

I can't seem to get the live template "cwv" working correctly. Maybe I'm
missing something. Here's an example ('|' denotes the cursor position):

>

Given:
int i = 10 ;

>

I type:
cwv|<tab>

>

I get:
Console.Out.WriteLine ( "i = " + |i ); { i is highlighted }

>

I type:
"i" and then "." to try to select ToString()

>

Instead I get:
Console.Out.WriteLine ( "i = " + i. );|
with a completion suggest dialog at the cursor position with "i" selected.

>

Has anyone else seen this? Is there a way to get members without getting
kicked out of the template?

>

Thanks,
Derek Price

>
>
>
>
>
>


0
Comment actions Permalink

I'm waiting patiently! Do you use any sort of virtual pc software to have
multiple versions of ReSharper running to test?
Derek Price

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

Derek,

>

I just tried your case on the latest build (89) and it works fine.
Probably it was a problem in 88. Please wait until 89 is released and

report

if the problem persists.

>

Thank you

>

--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Derek Price" <dprice@doble.com> wrote in message
news:cbc0jl$soj$1@is.intellij.net...

I can't seem to get the live template "cwv" working correctly. Maybe

I'm

missing something. Here's an example ('|' denotes the cursor position):

>

Given:
int i = 10 ;

>

I type:
cwv|<tab>

>

I get:
Console.Out.WriteLine ( "i = " + |i ); { i is highlighted }

>

I type:
"i" and then "." to try to select ToString()

>

Instead I get:
Console.Out.WriteLine ( "i = " + i. );|
with a completion suggest dialog at the cursor position with "i"

selected.

>

Has anyone else seen this? Is there a way to get members without

getting

kicked out of the template?

>

Thanks,
Derek Price

>
>
>
>
>
>

>
>


0
Comment actions Permalink

Derek,

No, we don't. If we need to test any previous version we simply install
it on the development machine.

--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Derek Price" <dprice@doble.com> wrote in message
news:cbc1ab$1ne$1@is.intellij.net...

I'm waiting patiently! Do you use any sort of virtual pc software to have
multiple versions of ReSharper running to test?
Derek Price

>

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

Derek,

>

I just tried your case on the latest build (89) and it works fine.
Probably it was a problem in 88. Please wait until 89 is released and

report

if the problem persists.

>

Thank you

>

--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Derek Price" <dprice@doble.com> wrote in message
news:cbc0jl$soj$1@is.intellij.net...

I can't seem to get the live template "cwv" working correctly. Maybe

I'm

missing something. Here's an example ('|' denotes the cursor

position):

>

Given:
int i = 10 ;

>

I type:
cwv|<tab>

>

I get:
Console.Out.WriteLine ( "i = " + |i ); { i is highlighted }

>

I type:
"i" and then "." to try to select ToString()

>

Instead I get:
Console.Out.WriteLine ( "i = " + i. );|
with a completion suggest dialog at the cursor position with "i"

selected.

>

Has anyone else seen this? Is there a way to get members without

getting

kicked out of the template?

>

Thanks,
Derek Price

>
>
>
>
>
>

>
>

>
>


0
Comment actions Permalink

"i" and then "." to try to select ToString()


fyi, that's unnecessary step

0
Comment actions Permalink

True - in this case. I just wanted to provide a simple example. I actually
noticed it doing regular expressions and trying to access the count of the
Groups collection.

"jjooee" <jjooeeN_0_S_P_A_M@machak.com> wrote in message
news:cbc32s$eiv$1@is.intellij.net...

"i" and then "." to try to select ToString()


fyi, that's unnecessary step


0

Please sign in to leave a comment.