Preparing search index...
The search index is not available
Monaco Editor API
Monaco Editor API
editor
setModelLanguage
Function setModelLanguage
set
Model
Language
(
model
,
mimeTypeOrLanguageId
)
:
void
Change the language for a model.
Parameters
model
:
ITextModel
mimeTypeOrLanguageId
:
string
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Monaco Editor API
Loading...
Change the language for a model.