MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / getEditorConfig

Method getEditorConfig

static/panes/editor.ts:598–604  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

596 };
597
598 const getEditorConfig = () => {
599 if (this.currentLanguage) {
600 return Components.getEditor(this.currentLanguage.id);
601 }
602 // TODO(jeremy-rifkin): Can this.settings.defaultLanguage really be undefined?
603 return Components.getEditor(unwrap(this.settings.defaultLanguage));
604 };
605
606 const addPaneOpener = (dragSource: JQuery<HTMLElement>, dragConfig) => {
607 createDragSource(this.container.layoutManager, dragSource, () => dragConfig()).on('dragStart', () => {

Callers

nothing calls this directly

Calls 1

unwrapFunction · 0.50

Tested by

no test coverage detected