Intrusive rake task warnings on branch change

已回答

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! 

 

1

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:

#org.jetbrains.plugins.ruby.ruby.run.RubyCommandLine
#com.intellij.execution.configurations.GeneralCommandLine
2. restart RubyMine, reproduce the problem and collect idea.log (Help - Show log in) to the new issue.

 

0

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.

1

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 

0

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.

1

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. 

0

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.

0

Robert Perry Hooker there're registry keys responsible for that, mentioned in the following comment so could you please check it.

0

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?

0

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.

1

Thank you guys for resolving this!

1
Avatar
Permanently deleted user

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? 🙏

0

@... , 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)

0

@... , 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…

0
Avatar
Permanently deleted user

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?

0

Yes, sorry. I did mean RubyMine. I'm now on 2023.3.2

0

请先登录再写评论。