Why doesn't R# intellisense propose local variable

in a C# project targeting .NET Framework 4.5 i declared a local variable in some method.  While typing the variable name sometimes later R# suggests the type of the variable instead of the variable name itself (even if i type the complete name).

 


(sorry for the bad screen shot, but it's taken from my VM, which only has 16bit colors)

But if i cancel intellisense with ESC and open it again with Ctrl-Space the variable name is proposed.

Regards

Andreas

 

0
4 comments

Hello Andreas!

 

Thank you for contacting us.

Could you please provide some demo solution introducing the problem?

Thank you.

0

Hello Angelina,

unfortunately I can't reproduce the problem. Even in the solution where the problem occured yesterday intellisense is working as expected today. Maybe the problem was caused by an invalid cache. This morning i tried it just after starting VS. Yesterday i worked a couple of hours on the solution. For completeness: I'm working with Visual Studio 2015 Enterprise (14.0.25431.1) and R# 2017.2.2.

Regards

Andreas

0

Hello Angelina,

just it happened again. In this case I'm implementing a new method and the new source code isn't saved until now. I can remember that i had this problem in previous R# versions. If i disable the completion filters intellisense works as expected. Do the completion filter use caching? Maybe this will be the reason for my problem.

Another hint maybe that i have 15+ files open in the editor.

Hope this helps

Andreas

0

Hello Andreas!

 

Thank you for the information.

I could reproduce some similar behavior and filed an issue - https://youtrack.jetbrains.com/issue/RSRP-466862

You are welcome to comment or vote for it.

Thank you.

0

Please sign in to leave a comment.