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

Method setMinimalOptions

static/widgets/load-save.ts:270–274  ·  view source on GitHub ↗
(editorText: string, currentLanguage: Language)

Source from the content-addressed store, hash-verified

268 }
269
270 setMinimalOptions(editorText: string, currentLanguage: Language) {
271 this.editorText = editorText;
272 this.currentLanguage = currentLanguage;
273 this.extension = currentLanguage.extensions[0] || '.txt';
274 }
275
276 onSaveToFile(fileEditor?: string) {
277 try {

Callers 2

runMethod · 0.95
handleCtrlSMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected