Code completion pop up issue on one particular solution.
Hello, I'm encountering an issue that drives me nuts.
On one solution, the Code completion pop up keeps shutting down before I can do anything about it. The manual shortcut Ctrl + Space will still invoke it and let me interact with it, but this is a significant impact to my workflow and slows me down quite a bit, as opposed to automatically popping and sorting through as I type.
This only happens on one particular solution, I have other solutions I'm working on that do not suffer with this issue.
Furthermore, this issue started right after I accidentally pressed wrong shortcut(s) and initiated a build that failed. I work with Unity, so I never really build directly from Rider. After this (and possibly invoking another shortcut this way as my fingers sort of slid over the keyboard), the issue started.
What I noticed, is that the pop up seems to be cancelled by an immediate issue report, that reports an error right after I type a single letter, while the other solutions wait.
I tried invalidating caches, I tried turning Analysis On and Off, I tried recreating project files in Unity, I even edited the solution file to have the same structure like the one that keeps working as expected.
I feel like this is something minor, that could be potentially fixed by a shortcut, but since I'm still fairly new to Rider, I have no idea where to look.
Anyone could point me in the right direction?
Thanks in advance.
Please sign in to leave a comment.
Mdt, to make sure we are on the same page regarding this issue, could you clarify what the issue report in “the pop up seems to be cancelled by an immediate issue report, that reports an error right after I type a single letter” means exactly?
Do you mean that:
Hello Kirill, what I meant is the popup is cancelled immediately after typing a single letter (any letter) and then the IDE displays a problem, since it treats that single letter as finished instruction.
This happens right after I type letter t. This does only happen in that one affected solution. Other solutions don't behave this way.
EDIT:
I have narrowed the issue down. It seems to be happening only on a single script, and on top of that, only inside a single method, yet almost identical method does not suffer from the issue.
The above mentioned problem only occurs when trying to write inside of the second method, no matter on which line. Typing the exact same way in the method above does not cause the issue and displays the Code completion popup as expected.
Mdt thank you for the details. Unfortunately, this behavior is not reproducible with similar snippets in a few different projects in a test environment. Would it be possible to share the affected project with us or share your Rider logs with diagnostic traces enabled so we could look into this issue?
Please follow these steps to collect the logs:
You can send us the sample project or the log bundle via the Upload Service and let us know the Upload ID in this thread.