Intrusive rake task warnings on branch change
Answered
Hello!
Every time I switch branches, I am greeted by these two windows that pop up over what I was working on. They interrupt me every time I switch branches.
These warnings are present when running rake tasks, and have been for quite some time on the project I'm working on. However, this behavior of showing two notifications like this is recent, within the last few months.
Is there any way to disable this? I've looked around in the notification settings but can't find any relevant setting to change. I don't so much mind the warnings, it's probably good to surface them, but popping up like they do and taking over whatever I'm doing isn't great.
Appreciate any help folks might be able to give!
Please sign in to leave a comment.
Hello Michael,
Could you please specify your RubyMine version? In addition, we'd need your log so could you please submit an issue on our tracker https://youtrack.jetbrains.com/issues/RUBY and then do the following:
1. add the following lines to Help | Diagnostic Tools | Debug Log Settings:
Curious to know if this was ever solved or posted in the issue tracker? I don't see it there, but I have the same exact warnings, and "intrusive" is a good way to put it, since it opens the messages panel and pulls focus to it every time.
Michael Lambert, since the root causes might differ (meaning it's not always related to the IDE) it's always better to submit a separate issue for that
I have this same issue. I'd like to disable the auto-focus on the “Messages” tab, or disable the process that generates the warnings. This happens whenever I switch branches, and frequently interrupts whatever I'm typing in the console.
Robert Perry Hooker , we have a request to improve the current behaviour, so that the reload will happen on the explicit action. Please follow it to be notified about the version where it will be available.
Hi Olga Kuvardina, I'm using RubyMine EAP 2023.3 Beta, which according to the request you linked should include a fix for this. However, I'm still seeing the rake warnings steal focus (often when I'm typing in the console!) after a branch change. Can you please let me know what I need to do to disable this behavior? It's not clear from reading the request what I need to change to adjust this.
Robert Perry Hooker there're registry keys responsible for that, mentioned in the following comment so could you please check it.
Olga Kuvardina - as mentioned prior, I read the comment and it's not clear what I need to change to adjust the behavior. Can you please let me know what steps I need to take?
Robert Perry Hooker, you can configure those registry keys by going to the Registry via
Help | Find Action | Registry
. After opening the Registry, you can just start typing the key name and it will appear in the list.Thank you guys for resolving this!
Same problem here, not sure how I should fiddle with the registry keys. Disable some rake/rails ones? Don't want to mess them up :D
Michael Lambert, maybe you have a hint for me since you recently fixed it? 🙏
@... , there're 2 registry keys. One is responsible for rake tasks (
ruby.rake.tasks.loading.enabled
) and another for rails generators (ruby.rails.generators.loading.enabled
)@... , I actually didn't have to change them. After updating, the warnings showed in that notification, rather than forcing open the messaged panel. But if you are wanting to play with the registry keys, you can click Help >> Find Action and search for Registry…
Thanks Michael Lambert and Olga! I meant to say that I actually found the “rake/rails” registry keys, but wasn't sure if I just should disable them.
Michael Lambert, do you mean updating to the newest RubyMine version?
Yes, sorry. I did mean RubyMine. I'm now on 2023.3.2