Show Context Actions bulb (Alt+Enter) does not work
Hi, I am facing a very frustrating situation, the code suggestion that usually pops up when you press Alt+Enter is not working for me. As you can see in the image below, Rider correctly identified that idCounter does not need to be explicitly initialised to 0.
If I click on the yellow light bulb, I get these code suggestions:
I'm expecting the same suggestions to appear when I click on "Show Context Actions" or press Alt+Enter, but literally nothing happens.
Any ideas?
P.S: Settings -> Keymap -> "Show Context Actions" is bound to Alt+Enter
P.P.S: Settings -> Editor -> General -> Appearance -> "Show intention bulb" is ticked.
Please sign in to leave a comment.
Hi,
Do I understand Right that the issue is in broken menu item (Show Context Actions) in the Editor context menu? If you perform the action "Remove redundant..." from the bulb menu it will expectedly change your code?
Could you please clarify your Rider version? Also, please turn on 'ActionsAndPopups' and 'Editors' category in the "Help->"Log Trace Scenarios" menu (it might slow down the app). And If you face it again, please share a whole log folder "Help | Compress Logs and Show in ...".
Here is a guide about how to upload files to JetBrains: https://resharper-support.jetbrains.com/hc/en-us/articles/207635255-Uploading-Large-Files-for-JetBrains-Support-Team.
Hi,
I'm encountering the same problem. To answer your questions:
If I perform actions in the bulb menu they are executed as expected.
I'm using Rider version 2019.3.3 (Build #RD-193.6494.30, built on February 20, 2020) on a Windows 10 machine.
I activated the log messages and have a log zip archive ready, but I can't add it in this comment here, as it seems.
Hi,
Files under 10 MB in size can be attached right into the tracker issue (if you do not want the attachments to be publicly accessible, limit the attachment visibility to jetbrains-team user group only using the Visible to option under the comment field).
One can upload a file via https://uploads.services.jetbrains.com/ form and let us know the exact file name.
Also, please try Rider 2020.1 and check if the issue persists there.
Sofia.
The problem seems to be gone in rider 2020.1
Very odd. I didn't have the problem you described with the old version but after upgrading to 2020.1 (working mainly in Unity projects) ALT+ENTER an also calling Show Context Actions from the context menu started to fail for me. Anything special you did other than upgrading? Did you perform a clean install?
nope, just updated to 2020.1. It then worked for me in a Unity project. When it didn't work for me in 2019.3 it was a Blazor project.
Very odd. I'll maybe have to open my own bug report for this.
Hi @Gregor Beyerle,
Could you please try clearing caches via "File | Invalidate Caches / Restart | Invalidate and Restart"? Does the issue persist after that?
Sofia.
Hi Sofia Byzova,
this appears to fix the issue. Thanks so much! It was really driving me insane 😅 Would have been a shame if I had to revert to VS again - nothing beats Rider for Unity development. ❤
Cheers
Gregor
Having the same issue with 2020.1.3 (since 2020.1.2). I'm about to return to VS :(
For instance, I've created a Web Api project with the latest .net core SDK and ASP.NET Core 3.1.4.
I have tried invalidating rider caches & restart, already.
Context Actions dropdown menu just won't show up!
I only have bundled plugins installed.
Hello @Daniel,
Please accept my apologies for this bug. It is a known one, and here is an issue on our tracker: https://youtrack.jetbrains.com/issue/RIDER-44548.
Unfortunately, the chances the fix will be in 2020.1 are slim. We are expecting it in 2020.2.
Kind regards,
Sofia
Hi,
This bug is also bothering me. Is there some sort of workarround untill we wait for 2020.2?
Jonnekats,
Please turn on 'ActionsAndPopups' and 'Editors' category in the "Help | Diagnostic Tools | Choose Trace Scenarios" menu (it might slow down the app). And If you face it again, please collect a whole log folder via the menu item "Help | Collect Logs" and attache the archive to the issue https://youtrack.jetbrains.com/issue/RIDER-44548.
Do not forget disabling tracking after all.
Sofia Byzova Hi, thanks for your suggestion from https://rider-support.jetbrains.com/hc/en-us/community/posts/360007541299/comments/360001651079 , this has fixed my issue with Context Actions!
Just wanted to share that I ran into this issue in 2020.2.1. I submitted my logs here: https://youtrack.jetbrains.com/issue/RIDER-44548?_ga=2.102366792.855826192.1599059253-548822088.1595516853.
ALT ENTER NOT working in Rider atm too omfgg really frustrated with the amount of bugs in rider
Mateusz Kurowski,
I'm sorry to hear that.
Could you please clarify the symptoms? What happens when you press Alt + Enter? The popup doers not appear? Or a specific actions (which one?) does not work when you call it from Alt + Enter popup?
Nothing happens. Build #RD-233.14015.60, built on January 18, 2024
Let's check the shortcut assigned to the action to call this popup. Please, open `Settings | Keymap` → type `Show context actions` in the search field, find the action and share a screenshot with this information here.
Hey it magically started working without changing anything.