mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
[CodeWithMe] CWM-6658: Add support for more run contents
GitOrigin-RevId: 73dcfec80acca1cb8d2149ded31e3f4f0b33c9cf
This commit is contained in:
committed by
intellij-monorepo-bot
parent
93df5edbd1
commit
66fc359182
@@ -18,6 +18,7 @@ import com.intellij.openapi.ui.TextFieldWithBrowseButton;
|
||||
import com.intellij.openapi.util.SystemInfo;
|
||||
import com.intellij.openapi.vfs.LocalFileSystem;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.ui.viewModel.extraction.ToolWindowContentExtractor;
|
||||
import com.jetbrains.python.PythonHelper;
|
||||
import com.jetbrains.python.ReSTService;
|
||||
import com.jetbrains.python.run.PythonCommandLineState;
|
||||
@@ -94,6 +95,7 @@ public class SphinxBaseCommand {
|
||||
try {
|
||||
if (!setWorkDir(module)) return;
|
||||
final ProcessHandler process = createProcess(module);
|
||||
process.putUserData(ToolWindowContentExtractor.SYNC_TAB_TO_GUEST, true);
|
||||
new RunContentExecutor(project, process)
|
||||
.withFilter(new PythonTracebackFilter(project))
|
||||
.withTitle("reStructuredText")
|
||||
|
||||
Reference in New Issue
Block a user