Files
openidea/src/features/terminal/runtime.ts
T
l0ng-ai 7f33640895 feat(markdown): run code blocks and command lines from the gutter (#4530)
Markdown files get gutter run icons like IDEA's Markdown command runner: shell code blocks run in a new terminal tab from their fence, and code block lines run when a Run Anything provider recognizes them (Maven/Gradle lines, run configuration names; providers gain accepts()). Languages & Frameworks > Markdown > Commands toggles detection and picks the folder (asking when unset and the project and file folder differ). Untrusted projects get no icons.
2026-11-19 21:17:16 +08:00

40 lines
910 B
TypeScript

/** Everything that needs xterm.js; loaded on first use through `loader.ts`. */
export {
activeSession,
applySettingsToAll,
applyThemeToAll,
closeAll,
detachTab,
newTab,
newTabRunning,
pluginSession,
syncTerminalProject,
tabTitle,
unbindTerminals,
newTabAt,
requestCloseSession,
sessionForTerminalId,
sessionFromElement,
splitTab,
startDirectory,
unsplit,
useTerminals,
} from "./store";
export {
adoptCli,
applySettingsToClis,
applyThemeToClis,
cliBusy,
cliSession,
cliSessionForTerminalId,
cliSessionFromElement,
disposeAllClis,
disposeCli,
isCliSession,
startCli,
} from "./cliSessions";
export { CliEditor } from "./CliEditor";
export { TerminalTabs, TerminalView } from "./TerminalView";
export { applyThemeToEmbedded, createEmbeddedTerminal } from "./embedded";
export { closeTerminalFind, openTerminalFind, useTerminalFind } from "./FindBar";