Skip to the content.

Ace Editor

Information

Introduction

Ace (Ajax.org Cloud9 Editor) is an embeddable code editor written in JavaScript. It matches the features and performance of native editors such as Sublime Text, Vim, and TextMate.

It can be easily embedded in any web page and JavaScript application. Ace is the primary editor for Cloud9 IDE and the successor of the Bespin and Skywriter projects.

What is it for?

Ace Editor is used to:

Main Functionalities and Features

Installation and Setup

NPM Installation

npm install ace-builds

Basic Integration

import ace from 'ace-builds';

const editor = ace.edit("editor");
editor.setTheme("ace/theme/monokai");
editor.session.setMode("ace/mode/javascript");

Tips and Tricks

See also