Add current file to context in the "Add context" menu

When navigting through Problems and opening a file with errors I can’t add the current file as context in that menu.