Runnable () { return () -> { VirtualFile virtualFile = findOutput(); if (virtualFile != null) { if (myConfiguration.openInBrowser()) { BrowserUtil.browse(virtualFile); } else { FileEditorManager.getInstance(myConfiguration.getProject()).openFile(virtualFile, true); } } }; }