This isn't possible natively, unless I misread the code. deletePsiElement
is always called with needConfirmation = true
. (there is some testing-environment-specific code that bypasses this, not applicable here).
If a brave soul would be so kind to open a PR that checks a config option for the value of needConfirmation
I would be grateful :)