{"id":15049792,"url":"https://github.com/mozilla/ace","last_synced_at":"2025-10-04T12:30:34.951Z","repository":{"id":1176971,"uuid":"1074383","full_name":"mozilla/ace","owner":"mozilla","description":"INACTIVE - Ajax.org Code Editor","archived":true,"fork":true,"pushed_at":"2011-05-05T09:58:41.000Z","size":2802,"stargazers_count":31,"open_issues_count":0,"forks_count":3,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-01-16T16:26:10.903Z","etag":null,"topics":["inactive","unmaintained"],"latest_commit_sha":null,"homepage":"http://ajax.org","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ajaxorg/ace","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mozilla.png","metadata":{"files":{"readme":"Readme.md","changelog":"ChangeLog.txt","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-11-12T11:15:52.000Z","updated_at":"2023-03-21T16:04:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mozilla/ace","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Face","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Face/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Face/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Face/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mozilla","download_url":"https://codeload.github.com/mozilla/ace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235252729,"owners_count":18960467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["inactive","unmaintained"],"created_at":"2024-09-24T21:22:29.168Z","updated_at":"2025-10-04T12:30:29.212Z","avatar_url":"https://github.com/mozilla.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ace (Ajax.org Cloud9 Editor)\n============================\n\nAce is a standalone code editor written in JavaScript. Our goal is to create a web based code editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. It can be easily embedded in any web page and JavaScript application. Ace is developed as the primary editor for [Cloud9 IDE](http://www.cloud9ide.com/) and the successor of the Mozilla Skywriter (Bespin) Project.\n\nFeatures\n--------\n\n* Syntax highlighting\n* Auto indentation and outdent\n* An optional command line\n* Work with huge documents (100,000 lines and more are no problem)\n* Fully customizable key bindings including VI and Emacs modes\n* Themes (TextMate themes can be imported)\n* Search and replace with regular expressions\n* Highlight matching parentheses\n* Toggle between soft tabs and real tabs\n* Displays hidden characters\n\nTake Ace for a spin!\n--------------------\n\nCheck out the Ace live [demo](http://ajaxorg.github.com/ace/build/editor.html) or get a [Cloud9 IDE account](http://run.cloud9ide.com) to experience Ace while editing one of your own GitHub projects.\n\nIf you want, you can use Ace as a textarea replacement thanks to the [Ace Bookmarklet](http://ajaxorg.github.com/ace/build/textarea/editor.html).\n\nHistory\n-------\n\nPreviously known as “Bespin” or lately “Skywriter” it’s now known as Ace (Ajax.org Cloud9 Editor)! Bespin and Ace started as two independent projects both aiming to build a no compromise code editor component for the web. Bespin started as part of Mozilla Labs and was based on the canvas tag, while Ace is the Editor component of the Cloud9 IDE and is using the DOM for rendering. After the release of Ace at JSConf.eu 2010 in Berlin the Skywriter team decided to merge Ace with a simplified version of Skywriter's plugin system and some of Skywriter's extensibility points. All these changes have been merged back to Ace now, which supersedes Skywriter. Both Ajax.org and Mozilla are actively developing and maintaining Ace.\n\nGetting the code\n----------------\n\nAce is a community project. We actively encourage and support contributions. The Ace source code is hosted on GitHub. It is released under the Mozilla tri-license (MPL/GPL/LGPL). This is the same license used by Firefox. This license is friendly to all kinds of projects, whether open source or not. Take charge of your editor and add your favorite language highlighting and keybindings!\n\n    git clone git://github.com/ajaxorg/ace.git\n    git submodule update --init --recursive\n\nEmbedding Ace\n-------------\n\nAce can be easily embedded into any existing web page. The Ace git repository ships with a pre-packaged version of Ace inside of the `build` directory. The same packaged files are also available as a separate [download](https://github.com/ajaxorg/ace/downloads). Simply copy the contents of the `src` subdirectory somewhere into your project and take a look at the included demos of how to use Ace.\n\nThe easiest version is simply:\n\n    \u003cdiv id=\"editor\"\u003esome text\u003c/div\u003e\n    \u003cscript src=\"src/ace.js\" type=\"text/javascript\" charset=\"utf-8\"\u003e\u003c/script\u003e\n    \u003cscript\u003e\n    window.onload = function() {\n        var editor = ace.edit(\"editor\");\n    };\n    \u003c/script\u003e\n    \nTo change the theme simply include the Theme's JavaScript file\n\n    \u003cscript src=\"src/theme-twilight.js\" type=\"text/javascript\" charset=\"utf-8\"\u003e\u003c/script\u003e\n    \nand configure the editor to use the theme:\n\n    editor.setTheme(\"ace/theme/twilight\");\n    \nBy default the editor only supports plain text mode. However all other language modes are available as separate modules. After including the mode's Javascript file\n\n    \u003cscript src=\"src/mode-javascript.js\" type=\"text/javascript\" charset=\"utf-8\"\u003e\u003c/script\u003e\n    \nthe mode can be used like this:\n\n    var JavaScriptMode = require(\"ace/mode/javascript\").Mode;\n    editor.getSession().setMode(new JavaScriptMode());\n\nRunning Ace\n-----------\n\nAfter the checkout Ace works out of the box. No build step is required. Simply open 'editor.html' in any browser except Google Chrome. Google Chrome doesn't allow XMLHTTPRequests from files loaded from disc (i.e. with a file:/// URL). To open the Ace in Chrome simply start the bundled mini HTTP server:\n\n    ./static.py\n\nThe editor can then be opened at http://localhost:9999/editor.html.\n\nPackage Ace\n-----------\n\nTo package Ace we use the dryice build tool developed by the Mozilla Skywriter team. To install dryice and all its dependencies simply call:\n\n    npm link .\n\nAfterwards Ace can by build by calling\n\n    ./Makefile.dryice.js\n\nThe packaged Ace will be put in the 'build' folder.\n\nRunning the Unit Tests\n----------------------\n\nThe Ace unit tests run on node.js. Before the first run a couple of node mudules have to be installed. The easiest way to do this is by using the node package manager (npm). In the Ace base directory simply call\n\n    npm link .\n\nTo run the tests call:\n\n    node lib/ace/test/all.js\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmozilla%2Face","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmozilla%2Face","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmozilla%2Face/lists"}