I am trying configure visibility of a command within the context menu using \'visibleWhen\' expression within a menuContribution. What I am trying to do is make the command vis
@blissfool, I would suggest a slight restructuring. You can put your basic test (which is correct) in a org.eclipse.core.expressions.definitions block:
Then in your visibleWhen move the activeEditorInput test up to the top: