MCPcopy Create free account
hub / github.com/Exafunction/codeium-chrome / getLanguage

Method getLanguage

src/notebook.ts:35–35  ·  view source on GitHub ↗
(model: T, idx: number | undefined)

Source from the content-addressed store, hash-verified

33 getText(model: T): string;
34 // idx is the position in the textModels array, or undefined if it's the currentTextModel.
35 getLanguage(model: T, idx: number | undefined): Language;
36}
37
38// Note: Assumes that all notebooks are Python.

Callers 1

computeTextAndOffsetsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected