File scriptFile = getScriptFile(editor);
if (scriptFile != null) {
ScriptMonkeyPlugin scriptMonkeyPlugin = ScriptMonkeyPlugin.getInstance(project);
ScriptCommandProcessor commandProcessor = new ScriptCommandProcessor(ApplicationManager.getApplication(), project, scriptMonkeyPlugin);
commandProcessor.setCommandShell(false);
String contentName = scriptFile.getName();
ScriptMonkeyToolWindow toolWindow = scriptMonkeyPlugin.getToolWindow();
Content content = toolWindow.getContentManager().findContent(contentName);
ScriptShellPanel panel;
if (content == null) {