@@ -66,7 +66,7 @@ public class GenerateAction extends AnAction {
}
else {
final VirtualFile file = CommonDataKeys.VIRTUAL_FILE.getData(e.getDataContext());
- e.getPresentation().setVisible(file != null && file.getName().endsWith(".json"));
+ e.getPresentation().setVisible(file != null && file.getName().equals("code-from-ds.json"));