Файли
openidea/wit
Ainul YaqinтаAkin01 ce03ae7c0f feat(plugins): plugin run configurations can ask for PTY or piped output (API 1.18) (#5014)
Plugin-owned run configurations can choose how the Run console gets the process output: separate stdout and stderr pipes (the default) or a pseudo-terminal, the same as Emulate terminal in output console. Static [[contributes.runDetectors]] take outputMode = "pty" or "pipes"; dynamic configurations come from the new optional execution-configurations export (a launch configuration plus its output mode, used instead of launch- and run-configurations when exported); run.start-with-options overrides the mode for one launch. A mode the user saved on the configuration wins over the per-launch override, which wins over the plugin's default. PTY is refused for test configurations, debug launches, remote run targets and redirected stdin files.

On top of the contributor's work: merged main (API 1.18 was already open), rebuilt the components, and fixed the end-to-end PTY test, which didn't compile and then started configurations before they were loaded.

Closes #4757

Co-authored-by: Akin01 <[email protected]>
2026-11-26 21:24:42 +08:00
..