()
| 355 | } |
| 356 | |
| 357 | override getCurrentState() { |
| 358 | const options = this.getEffectiveOptions(); |
| 359 | const state: NewToolSettings = { |
| 360 | ...super.getCurrentState(), |
| 361 | wrap: options.wrap, |
| 362 | toolId: this.toolId, |
| 363 | args: this.getInputArgs(), |
| 364 | stdin: this.getInputStdin(), |
| 365 | stdinPanelShown: (this.monacoStdin && this.monacoEditorOpen) || !this.panelStdin.hasClass('d-none'), |
| 366 | monacoStdin: this.monacoStdin, |
| 367 | monacoEditorOpen: this.monacoEditorOpen, |
| 368 | monacoEditorHasBeenAutoOpened: this.monacoEditorHasBeenAutoOpened, |
| 369 | argsPanelShown: !this.panelArgs.hasClass('d-none'), |
| 370 | }; |
| 371 | return state; |
| 372 | } |
| 373 | |
| 374 | setLanguage(languageId: false | string) { |
| 375 | if (languageId) { |
no test coverage detected