In the plugin I have a menu item which should be able to enable/ disable dynamically.
As in https://intellij-support.jetbrains.com/hc/en-us/community/posts/206804545/comments/206241755
presentation.setEnabled(), presentation.setVisible() doesn't work in the 2019.2 intelliJ and later versions.
When I use below line in update() of an action in IDEA 2017, menu item is working fine (disabled but visible)
But in IDEA 2019.2 version same code results the menu Item go invisible. I couldn't make it visible even by adding below line
Is this due to any change with the API or am I missing something. Thanks in advance for any help.