Reenable single instance running warning

Answered

Hey, when I run a node process that is already running and is single instance only, intellij gives me a dialog warning me it would restart. I accidentally hit the checkbox that said "dont show this dialog again'
Is there a way to reenable the warning?

Thanks

1
4 comments

It's stored in .idea/workspace.xml file:

<property name="restartRequiresConfirmation" value="false" />

You can close the project and manually delete this line from the XML, then reopen the project.

Request is welcome to make it configurable via UI: https://youtrack.jetbrains.com/issues/IDEA.

0

What a lazy response.

Also it's 2023 and this is still not UI configurable…

Also the parameter you describe doesn't exist in workspace.xml, but my project stopped asking me for confirmation, after accidentally removing the confirmation dialog 

0

Hello Kaju Bubanja,

You can't find this setting in workspace.xml because behavior was changed. Now you can control it via Confirm rerun with process termination setting (Settings | Advanced Settings).

0

I already tried that option and it doesn't work, I'm on PyCharm 2023.3 (Professional Edition)

EDIT: Ok it looks like there is a longer caching period. I didn't restart Pycharm and it didn't work at first, but now about 1-2h later it started asking me again for the dialog. Not sure why it takes so long, maybe it doesn't check the settings too regularly

0

Please sign in to leave a comment.