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

Method getCurrentEditorLanguage

static/panes/ast-view.ts:168–170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166 }
167
168 getCurrentEditorLanguage() {
169 return this.editor.getModel()?.getLanguageId();
170 }
171
172 override onCompileResult(id: number, compiler: CompilerInfo, result: CompilationResult) {
173 if (this.compilerInfo.compilerId !== id) return;

Callers 1

onCompileResultMethod · 0.95

Calls 1

getLanguageIdMethod · 0.80

Tested by

no test coverage detected