How to use the @theia/console/lib/browser/console-widget.ConsoleWidget.createContainer function in @theia/console

To help you get started, we’ve selected a few @theia/console examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github eclipse-theia / theia / packages / debug / src / browser / console / debug-console-contribution.tsx View on Github external
static create(parent: interfaces.Container): ConsoleWidget {
        const inputFocusContextKey = parent.get(InDebugReplContextKey);
        const child = ConsoleWidget.createContainer(parent, {
            ...DebugConsoleContribution.options,
            inputFocusContextKey
        });
        const widget = child.get(ConsoleWidget);
        widget.session = child.get(DebugConsoleSession);
        return widget;
    }

@theia/console

Theia - Console Extension

EPL-2.0
Latest version published 20 days ago

Package Health Score

87 / 100
Full package analysis