Description
Monaco Editor is a browser-based code editor from Microsoft, the fully featured editor that powers VS Code. It is for developers who want a code editing experience inside a web page or web app, with the features users expect from VS Code, such as syntax-aware editing and completion. Its concepts are models, which hold the text of a file and its language and edit history, identified by a URI; editors, which are the views attached to the DOM; and providers, which supply smart features such as completion and hover information. The project ships an ESM build for modern bundlers such as webpack, and a type definition file that describes its public API. The team says only that type file is versioned; the rest of the package is private and may change. An AMD build is still shipped for backward compatibility but is deprecated. Localisation is available by loading a language's nls script before the main editor script. The playground on the project's site is the best place to learn the editor and to build minimal reproductions for bug reports. The repository is on GitHub at microsoft/monaco-editor, and the listing shows it as free.…
Highlights
- Editor engine from VS Code
- ESM build for modern bundlers
- Models, editors and providers
- Localised interface via nls scripts
- Public API described in monaco.d.ts
Ratings & Reviews
No ratings yet
Be the first to rate Monaco Editor.
People also visit
Monaco Languageclient
A toolbox for building web applications with editors utilizing language servers
Monaco Editor Auto Typings
Automatically load declaration files while typing in monaco editor instances

VSCode for Web
Build with Visual Studio Code, anywhere, anytime, entirely in your browser
Monaco Editor FAQ
What is Monaco Editor?
The browser-based code editor that powers VS Code.
What is a model?
A model holds a file's text, its language and its edit history, and is identified by a URI.
Which API is stable?
The monaco.d.ts type file is the versioned API. The rest of the package is private and may change.
Is the AMD build still supported?
It is shipped for backward compatibility but is deprecated and will be removed.
Where do I try it?
The project's interactive playground, which is also the best place to build bug reproductions.
What are the best Monaco Editor alternatives?
Popular alternatives to Monaco Editor include Devplayground.io, Codejar and Molecule. See all Monaco Editor alternatives

