@theia/output 1.45.1 → 1.46.0-next.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +33 -33
  2. package/lib/browser/output-channel.d.ts +125 -125
  3. package/lib/browser/output-channel.js +334 -334
  4. package/lib/browser/output-commands.d.ts +17 -17
  5. package/lib/browser/output-commands.js +84 -84
  6. package/lib/browser/output-context-menu.d.ts +11 -11
  7. package/lib/browser/output-context-menu.js +42 -42
  8. package/lib/browser/output-contribution.d.ts +29 -29
  9. package/lib/browser/output-contribution.js +284 -284
  10. package/lib/browser/output-editor-factory.d.ts +12 -12
  11. package/lib/browser/output-editor-factory.d.ts.map +1 -1
  12. package/lib/browser/output-editor-factory.js +79 -84
  13. package/lib/browser/output-editor-factory.js.map +1 -1
  14. package/lib/browser/output-editor-model-factory.d.ts +15 -15
  15. package/lib/browser/output-editor-model-factory.js +61 -61
  16. package/lib/browser/output-frontend-module.d.ts +3 -3
  17. package/lib/browser/output-frontend-module.js +50 -50
  18. package/lib/browser/output-preferences.d.ts +11 -11
  19. package/lib/browser/output-preferences.js +46 -46
  20. package/lib/browser/output-resource.d.ts +18 -18
  21. package/lib/browser/output-resource.js +54 -54
  22. package/lib/browser/output-toolbar-contribution.d.ts +21 -21
  23. package/lib/browser/output-toolbar-contribution.js +125 -125
  24. package/lib/browser/output-widget.d.ts +48 -48
  25. package/lib/browser/output-widget.js +248 -248
  26. package/lib/common/output-uri.d.ts +7 -7
  27. package/lib/common/output-uri.js +47 -47
  28. package/lib/common/output-uri.spec.d.ts +1 -1
  29. package/lib/common/output-uri.spec.js +50 -50
  30. package/package.json +7 -7
  31. package/src/browser/output-channel.ts +366 -366
  32. package/src/browser/output-commands.ts +100 -100
  33. package/src/browser/output-context-menu.ts +34 -34
  34. package/src/browser/output-contribution.ts +274 -274
  35. package/src/browser/output-editor-factory.ts +68 -74
  36. package/src/browser/output-editor-model-factory.ts +54 -54
  37. package/src/browser/output-frontend-module.ts +53 -53
  38. package/src/browser/output-preferences.ts +58 -58
  39. package/src/browser/output-resource.ts +65 -65
  40. package/src/browser/output-toolbar-contribution.tsx +116 -116
  41. package/src/browser/output-widget.ts +256 -256
  42. package/src/browser/style/output.css +31 -31
  43. package/src/common/output-uri.spec.ts +53 -53
  44. package/src/common/output-uri.ts +47 -47
@@ -1,256 +1,256 @@
1
- // *****************************************************************************
2
- // Copyright (C) 2018 TypeFox and others.
3
- //
4
- // This program and the accompanying materials are made available under the
5
- // terms of the Eclipse Public License v. 2.0 which is available at
6
- // http://www.eclipse.org/legal/epl-2.0.
7
- //
8
- // This Source Code may also be made available under the following Secondary
9
- // Licenses when the conditions for such availability set forth in the Eclipse
10
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- // with the GNU Classpath Exception which is available at
12
- // https://www.gnu.org/software/classpath/license.html.
13
- //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
- // *****************************************************************************
16
-
17
- import '../../src/browser/style/output.css';
18
- import { inject, injectable, postConstruct } from '@theia/core/shared/inversify';
19
- import { toArray } from '@theia/core/shared/@phosphor/algorithm';
20
- import { EditorWidget } from '@theia/editor/lib/browser';
21
- import { MonacoEditor } from '@theia/monaco/lib/browser/monaco-editor';
22
- import { SelectionService } from '@theia/core/lib/common/selection-service';
23
- import { MonacoEditorProvider } from '@theia/monaco/lib/browser/monaco-editor-provider';
24
- import { Disposable, DisposableCollection } from '@theia/core/lib/common/disposable';
25
- import { Message, BaseWidget, DockPanel, Widget, MessageLoop, StatefulWidget, codicon } from '@theia/core/lib/browser';
26
- import { OutputUri } from '../common/output-uri';
27
- import { OutputChannelManager, OutputChannel } from './output-channel';
28
- import { Emitter, Event, deepClone } from '@theia/core';
29
- import { nls } from '@theia/core/lib/common/nls';
30
- import * as monaco from '@theia/monaco-editor-core';
31
-
32
- @injectable()
33
- export class OutputWidget extends BaseWidget implements StatefulWidget {
34
-
35
- static readonly ID = 'outputView';
36
- static readonly LABEL = nls.localizeByDefault('Output');
37
-
38
- @inject(SelectionService)
39
- protected readonly selectionService: SelectionService;
40
-
41
- @inject(MonacoEditorProvider)
42
- protected readonly editorProvider: MonacoEditorProvider;
43
-
44
- @inject(OutputChannelManager)
45
- protected readonly outputChannelManager: OutputChannelManager;
46
-
47
- protected _state: OutputWidget.State = { locked: false };
48
- protected readonly editorContainer: DockPanel;
49
- protected readonly toDisposeOnSelectedChannelChanged = new DisposableCollection();
50
- protected readonly onStateChangedEmitter = new Emitter<OutputWidget.State>();
51
-
52
- constructor() {
53
- super();
54
- this.id = OutputWidget.ID;
55
- this.title.label = OutputWidget.LABEL;
56
- this.title.caption = OutputWidget.LABEL;
57
- this.title.iconClass = codicon('output');
58
- this.title.closable = true;
59
- this.addClass('theia-output');
60
- this.node.tabIndex = 0;
61
- this.editorContainer = new NoopDragOverDockPanel({ spacing: 0, mode: 'single-document' });
62
- this.editorContainer.addClass('editor-container');
63
- this.editorContainer.node.tabIndex = -1;
64
- }
65
-
66
- @postConstruct()
67
- protected init(): void {
68
- this.toDispose.pushAll([
69
- this.outputChannelManager.onChannelWasHidden(() => this.refreshEditorWidget()),
70
- this.outputChannelManager.onChannelWasShown(({ preserveFocus }) => this.refreshEditorWidget({ preserveFocus: !!preserveFocus })),
71
- this.toDisposeOnSelectedChannelChanged,
72
- this.onStateChangedEmitter,
73
- this.onStateChanged(() => this.update())
74
- ]);
75
- this.refreshEditorWidget();
76
- }
77
-
78
- storeState(): object {
79
- return this.state;
80
- }
81
-
82
- restoreState(oldState: object & Partial<OutputWidget.State>): void {
83
- const copy = deepClone(this.state);
84
- if (oldState.locked) {
85
- copy.locked = oldState.locked;
86
- }
87
- this.state = copy;
88
- }
89
-
90
- protected get state(): OutputWidget.State {
91
- return this._state;
92
- }
93
-
94
- protected set state(state: OutputWidget.State) {
95
- this._state = state;
96
- this.onStateChangedEmitter.fire(this._state);
97
- }
98
-
99
- protected async refreshEditorWidget({ preserveFocus }: { preserveFocus: boolean } = { preserveFocus: false }): Promise<void> {
100
- const { selectedChannel } = this;
101
- const editorWidget = this.editorWidget;
102
- if (selectedChannel && editorWidget) {
103
- // If the input is the current one, do nothing.
104
- const model = (editorWidget.editor as MonacoEditor).getControl().getModel();
105
- if (model && model.uri.toString() === selectedChannel.uri.toString()) {
106
- if (!preserveFocus) {
107
- this.activate();
108
- }
109
- return;
110
- }
111
- }
112
- this.toDisposeOnSelectedChannelChanged.dispose();
113
- if (selectedChannel) {
114
- const widget = await this.createEditorWidget();
115
- if (widget) {
116
- this.editorContainer.addWidget(widget);
117
- this.toDisposeOnSelectedChannelChanged.pushAll([
118
- Disposable.create(() => widget.close()),
119
- selectedChannel.onContentChange(() => this.revealLastLine())
120
- ]);
121
- if (!preserveFocus) {
122
- this.activate();
123
- }
124
- this.revealLastLine();
125
- }
126
- }
127
- }
128
-
129
- protected override onAfterAttach(message: Message): void {
130
- super.onAfterAttach(message);
131
- Widget.attach(this.editorContainer, this.node);
132
- this.toDisposeOnDetach.push(Disposable.create(() => Widget.detach(this.editorContainer)));
133
- }
134
-
135
- protected override onActivateRequest(message: Message): void {
136
- super.onActivateRequest(message);
137
- if (this.editor) {
138
- this.editor.focus();
139
- } else {
140
- this.node.focus();
141
- }
142
- }
143
-
144
- protected override onResize(message: Widget.ResizeMessage): void {
145
- super.onResize(message);
146
- MessageLoop.sendMessage(this.editorContainer, Widget.ResizeMessage.UnknownSize);
147
- for (const widget of toArray(this.editorContainer.widgets())) {
148
- MessageLoop.sendMessage(widget, Widget.ResizeMessage.UnknownSize);
149
- }
150
- }
151
-
152
- protected override onAfterShow(msg: Message): void {
153
- super.onAfterShow(msg);
154
- this.onResize(Widget.ResizeMessage.UnknownSize); // Triggers an editor widget resize. (#8361)
155
- }
156
-
157
- get onStateChanged(): Event<OutputWidget.State> {
158
- return this.onStateChangedEmitter.event;
159
- }
160
-
161
- clear(): void {
162
- if (this.selectedChannel) {
163
- this.selectedChannel.clear();
164
- }
165
- }
166
-
167
- selectAll(): void {
168
- const editor = this.editor;
169
- if (editor) {
170
- const model = editor.getControl().getModel();
171
- if (model) {
172
- const endLine = model.getLineCount();
173
- const endCharacter = model.getLineMaxColumn(endLine);
174
- editor.getControl().setSelection(new monaco.Range(1, 1, endLine, endCharacter));
175
- }
176
- }
177
- }
178
-
179
- lock(): void {
180
- this.state = { ...deepClone(this.state), locked: true };
181
- }
182
-
183
- unlock(): void {
184
- this.state = { ...deepClone(this.state), locked: false };
185
- }
186
-
187
- get isLocked(): boolean {
188
- return !!this.state.locked;
189
- }
190
-
191
- protected revealLastLine(): void {
192
- if (this.isLocked) {
193
- return;
194
- }
195
- const editor = this.editor;
196
- if (editor) {
197
- const model = editor.getControl().getModel();
198
- if (model) {
199
- const lineNumber = model.getLineCount();
200
- const column = model.getLineMaxColumn(lineNumber);
201
- editor.getControl().revealPosition({ lineNumber, column }, monaco.editor.ScrollType.Smooth);
202
- }
203
- }
204
- }
205
-
206
- private get selectedChannel(): OutputChannel | undefined {
207
- return this.outputChannelManager.selectedChannel;
208
- }
209
-
210
- private async createEditorWidget(): Promise<EditorWidget | undefined> {
211
- if (!this.selectedChannel) {
212
- return undefined;
213
- }
214
- const { name } = this.selectedChannel;
215
- const editor = await this.editorProvider.get(OutputUri.create(name));
216
- return new EditorWidget(editor, this.selectionService);
217
- }
218
-
219
- private get editorWidget(): EditorWidget | undefined {
220
- for (const widget of toArray(this.editorContainer.children())) {
221
- if (widget instanceof EditorWidget) {
222
- return widget;
223
- }
224
- }
225
- return undefined;
226
- }
227
-
228
- private get editor(): MonacoEditor | undefined {
229
- const widget = this.editorWidget;
230
- if (widget instanceof EditorWidget) {
231
- if (widget.editor instanceof MonacoEditor) {
232
- return widget.editor;
233
- }
234
- }
235
- return undefined;
236
- }
237
-
238
- getText(): string | undefined {
239
- return this.editor?.getControl().getModel()?.getValue();
240
- }
241
-
242
- }
243
-
244
- export namespace OutputWidget {
245
- export interface State {
246
- locked?: boolean;
247
- }
248
- }
249
-
250
- /**
251
- * Customized `DockPanel` that does not allow dropping widgets into it.
252
- */
253
- class NoopDragOverDockPanel extends DockPanel { }
254
- NoopDragOverDockPanel.prototype['_evtDragOver'] = () => { };
255
- NoopDragOverDockPanel.prototype['_evtDrop'] = () => { };
256
- NoopDragOverDockPanel.prototype['_evtDragLeave'] = () => { };
1
+ // *****************************************************************************
2
+ // Copyright (C) 2018 TypeFox and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
+
17
+ import '../../src/browser/style/output.css';
18
+ import { inject, injectable, postConstruct } from '@theia/core/shared/inversify';
19
+ import { toArray } from '@theia/core/shared/@phosphor/algorithm';
20
+ import { EditorWidget } from '@theia/editor/lib/browser';
21
+ import { MonacoEditor } from '@theia/monaco/lib/browser/monaco-editor';
22
+ import { SelectionService } from '@theia/core/lib/common/selection-service';
23
+ import { MonacoEditorProvider } from '@theia/monaco/lib/browser/monaco-editor-provider';
24
+ import { Disposable, DisposableCollection } from '@theia/core/lib/common/disposable';
25
+ import { Message, BaseWidget, DockPanel, Widget, MessageLoop, StatefulWidget, codicon } from '@theia/core/lib/browser';
26
+ import { OutputUri } from '../common/output-uri';
27
+ import { OutputChannelManager, OutputChannel } from './output-channel';
28
+ import { Emitter, Event, deepClone } from '@theia/core';
29
+ import { nls } from '@theia/core/lib/common/nls';
30
+ import * as monaco from '@theia/monaco-editor-core';
31
+
32
+ @injectable()
33
+ export class OutputWidget extends BaseWidget implements StatefulWidget {
34
+
35
+ static readonly ID = 'outputView';
36
+ static readonly LABEL = nls.localizeByDefault('Output');
37
+
38
+ @inject(SelectionService)
39
+ protected readonly selectionService: SelectionService;
40
+
41
+ @inject(MonacoEditorProvider)
42
+ protected readonly editorProvider: MonacoEditorProvider;
43
+
44
+ @inject(OutputChannelManager)
45
+ protected readonly outputChannelManager: OutputChannelManager;
46
+
47
+ protected _state: OutputWidget.State = { locked: false };
48
+ protected readonly editorContainer: DockPanel;
49
+ protected readonly toDisposeOnSelectedChannelChanged = new DisposableCollection();
50
+ protected readonly onStateChangedEmitter = new Emitter<OutputWidget.State>();
51
+
52
+ constructor() {
53
+ super();
54
+ this.id = OutputWidget.ID;
55
+ this.title.label = OutputWidget.LABEL;
56
+ this.title.caption = OutputWidget.LABEL;
57
+ this.title.iconClass = codicon('output');
58
+ this.title.closable = true;
59
+ this.addClass('theia-output');
60
+ this.node.tabIndex = 0;
61
+ this.editorContainer = new NoopDragOverDockPanel({ spacing: 0, mode: 'single-document' });
62
+ this.editorContainer.addClass('editor-container');
63
+ this.editorContainer.node.tabIndex = -1;
64
+ }
65
+
66
+ @postConstruct()
67
+ protected init(): void {
68
+ this.toDispose.pushAll([
69
+ this.outputChannelManager.onChannelWasHidden(() => this.refreshEditorWidget()),
70
+ this.outputChannelManager.onChannelWasShown(({ preserveFocus }) => this.refreshEditorWidget({ preserveFocus: !!preserveFocus })),
71
+ this.toDisposeOnSelectedChannelChanged,
72
+ this.onStateChangedEmitter,
73
+ this.onStateChanged(() => this.update())
74
+ ]);
75
+ this.refreshEditorWidget();
76
+ }
77
+
78
+ storeState(): object {
79
+ return this.state;
80
+ }
81
+
82
+ restoreState(oldState: object & Partial<OutputWidget.State>): void {
83
+ const copy = deepClone(this.state);
84
+ if (oldState.locked) {
85
+ copy.locked = oldState.locked;
86
+ }
87
+ this.state = copy;
88
+ }
89
+
90
+ protected get state(): OutputWidget.State {
91
+ return this._state;
92
+ }
93
+
94
+ protected set state(state: OutputWidget.State) {
95
+ this._state = state;
96
+ this.onStateChangedEmitter.fire(this._state);
97
+ }
98
+
99
+ protected async refreshEditorWidget({ preserveFocus }: { preserveFocus: boolean } = { preserveFocus: false }): Promise<void> {
100
+ const { selectedChannel } = this;
101
+ const editorWidget = this.editorWidget;
102
+ if (selectedChannel && editorWidget) {
103
+ // If the input is the current one, do nothing.
104
+ const model = (editorWidget.editor as MonacoEditor).getControl().getModel();
105
+ if (model && model.uri.toString() === selectedChannel.uri.toString()) {
106
+ if (!preserveFocus) {
107
+ this.activate();
108
+ }
109
+ return;
110
+ }
111
+ }
112
+ this.toDisposeOnSelectedChannelChanged.dispose();
113
+ if (selectedChannel) {
114
+ const widget = await this.createEditorWidget();
115
+ if (widget) {
116
+ this.editorContainer.addWidget(widget);
117
+ this.toDisposeOnSelectedChannelChanged.pushAll([
118
+ Disposable.create(() => widget.close()),
119
+ selectedChannel.onContentChange(() => this.revealLastLine())
120
+ ]);
121
+ if (!preserveFocus) {
122
+ this.activate();
123
+ }
124
+ this.revealLastLine();
125
+ }
126
+ }
127
+ }
128
+
129
+ protected override onAfterAttach(message: Message): void {
130
+ super.onAfterAttach(message);
131
+ Widget.attach(this.editorContainer, this.node);
132
+ this.toDisposeOnDetach.push(Disposable.create(() => Widget.detach(this.editorContainer)));
133
+ }
134
+
135
+ protected override onActivateRequest(message: Message): void {
136
+ super.onActivateRequest(message);
137
+ if (this.editor) {
138
+ this.editor.focus();
139
+ } else {
140
+ this.node.focus();
141
+ }
142
+ }
143
+
144
+ protected override onResize(message: Widget.ResizeMessage): void {
145
+ super.onResize(message);
146
+ MessageLoop.sendMessage(this.editorContainer, Widget.ResizeMessage.UnknownSize);
147
+ for (const widget of toArray(this.editorContainer.widgets())) {
148
+ MessageLoop.sendMessage(widget, Widget.ResizeMessage.UnknownSize);
149
+ }
150
+ }
151
+
152
+ protected override onAfterShow(msg: Message): void {
153
+ super.onAfterShow(msg);
154
+ this.onResize(Widget.ResizeMessage.UnknownSize); // Triggers an editor widget resize. (#8361)
155
+ }
156
+
157
+ get onStateChanged(): Event<OutputWidget.State> {
158
+ return this.onStateChangedEmitter.event;
159
+ }
160
+
161
+ clear(): void {
162
+ if (this.selectedChannel) {
163
+ this.selectedChannel.clear();
164
+ }
165
+ }
166
+
167
+ selectAll(): void {
168
+ const editor = this.editor;
169
+ if (editor) {
170
+ const model = editor.getControl().getModel();
171
+ if (model) {
172
+ const endLine = model.getLineCount();
173
+ const endCharacter = model.getLineMaxColumn(endLine);
174
+ editor.getControl().setSelection(new monaco.Range(1, 1, endLine, endCharacter));
175
+ }
176
+ }
177
+ }
178
+
179
+ lock(): void {
180
+ this.state = { ...deepClone(this.state), locked: true };
181
+ }
182
+
183
+ unlock(): void {
184
+ this.state = { ...deepClone(this.state), locked: false };
185
+ }
186
+
187
+ get isLocked(): boolean {
188
+ return !!this.state.locked;
189
+ }
190
+
191
+ protected revealLastLine(): void {
192
+ if (this.isLocked) {
193
+ return;
194
+ }
195
+ const editor = this.editor;
196
+ if (editor) {
197
+ const model = editor.getControl().getModel();
198
+ if (model) {
199
+ const lineNumber = model.getLineCount();
200
+ const column = model.getLineMaxColumn(lineNumber);
201
+ editor.getControl().revealPosition({ lineNumber, column }, monaco.editor.ScrollType.Smooth);
202
+ }
203
+ }
204
+ }
205
+
206
+ private get selectedChannel(): OutputChannel | undefined {
207
+ return this.outputChannelManager.selectedChannel;
208
+ }
209
+
210
+ private async createEditorWidget(): Promise<EditorWidget | undefined> {
211
+ if (!this.selectedChannel) {
212
+ return undefined;
213
+ }
214
+ const { name } = this.selectedChannel;
215
+ const editor = await this.editorProvider.get(OutputUri.create(name));
216
+ return new EditorWidget(editor, this.selectionService);
217
+ }
218
+
219
+ private get editorWidget(): EditorWidget | undefined {
220
+ for (const widget of toArray(this.editorContainer.children())) {
221
+ if (widget instanceof EditorWidget) {
222
+ return widget;
223
+ }
224
+ }
225
+ return undefined;
226
+ }
227
+
228
+ private get editor(): MonacoEditor | undefined {
229
+ const widget = this.editorWidget;
230
+ if (widget instanceof EditorWidget) {
231
+ if (widget.editor instanceof MonacoEditor) {
232
+ return widget.editor;
233
+ }
234
+ }
235
+ return undefined;
236
+ }
237
+
238
+ getText(): string | undefined {
239
+ return this.editor?.getControl().getModel()?.getValue();
240
+ }
241
+
242
+ }
243
+
244
+ export namespace OutputWidget {
245
+ export interface State {
246
+ locked?: boolean;
247
+ }
248
+ }
249
+
250
+ /**
251
+ * Customized `DockPanel` that does not allow dropping widgets into it.
252
+ */
253
+ class NoopDragOverDockPanel extends DockPanel { }
254
+ NoopDragOverDockPanel.prototype['_evtDragOver'] = () => { };
255
+ NoopDragOverDockPanel.prototype['_evtDrop'] = () => { };
256
+ NoopDragOverDockPanel.prototype['_evtDragLeave'] = () => { };
@@ -1,31 +1,31 @@
1
- /********************************************************************************
2
- * Copyright (C) 2018 TypeFox and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
- ********************************************************************************/
16
-
17
- .theia-output .editor-container {
18
- height: 100%;
19
- }
20
-
21
- .theia-output .theia-output-error {
22
- color: var(--theia-errorForeground);
23
- }
24
-
25
- .theia-output .theia-output-warning {
26
- color: var(--theia-editorWarning-foreground);
27
- }
28
-
29
- #outputChannelList .theia-select-component {
30
- width: 170px;
31
- }
1
+ /********************************************************************************
2
+ * Copyright (C) 2018 TypeFox and others.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * This Source Code may also be made available under the following Secondary
9
+ * Licenses when the conditions for such availability set forth in the Eclipse
10
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ * with the GNU Classpath Exception which is available at
12
+ * https://www.gnu.org/software/classpath/license.html.
13
+ *
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
+ ********************************************************************************/
16
+
17
+ .theia-output .editor-container {
18
+ height: 100%;
19
+ }
20
+
21
+ .theia-output .theia-output-error {
22
+ color: var(--theia-errorForeground);
23
+ }
24
+
25
+ .theia-output .theia-output-warning {
26
+ color: var(--theia-editorWarning-foreground);
27
+ }
28
+
29
+ #outputChannelList .theia-select-component {
30
+ width: 170px;
31
+ }