void (List<String> commands, boolean isAutoMagic) { if (getConsoleFile() != null) { PythonConsoleData consoleData = PyConsoleUtil.getOrCreateIPythonData(getConsoleFile()); consoleData.setIPythonAutomagic(isAutoMagic); consoleData.setIPythonMagicCommands(commands); } }