[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-2915":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":16,"starSnapshotCount":16,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},2915,"ace","ajaxorg\u002Face","ajaxorg","Ace (Ajax.org Cloud9 Editor)","https:\u002F\u002Face.c9.io",null,"JavaScript",27132,5268,585,71,0,1,12,71.7,"Other",false,"master",true,[],"2026-06-12 04:00:16","Ace (Ajax.org Cloud9 Editor)\n============================\n\n[![Build Status](https:\u002F\u002Fgithub.com\u002Fajaxorg\u002Face\u002Fworkflows\u002FCI\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fajaxorg\u002Face\u002Factions) \n[![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Face-builds.svg)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Face-builds)\n\n_Note_: The new site at http:\u002F\u002Face.c9.io contains all the info below along with an embedding guide and all the other resources you need to get started with Ace.\n\nAce is a standalone code editor written in JavaScript. Our goal is to create a browser based 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 or JavaScript application. Ace is developed as the primary editor for [Cloud9 IDE](https:\u002F\u002Fc9.io\u002F) and the successor of the Mozilla Skywriter (Bespin) Project.\n\nFeatures\n--------\n\n* Syntax highlighting for over 120 languages (TextMate\u002FSublime\u002F_.tmlanguage_ files can be imported)\n* Over 20 themes (TextMate\u002FSublime\u002F_.tmtheme_ files can be imported)\n* Automatic indent and outdent\n* An optional command line\n* Handles huge documents (at last check, 4,000,000 lines is the upper limit)\n* Fully customizable key bindings including vim and Emacs modes\n* Search and replace with regular expressions\n* Highlight matching parentheses\n* Toggle between soft tabs and real tabs\n* Displays hidden characters\n* Drag and drop text using the mouse\n* Line wrapping\n* Code folding\n* Multiple cursors and selections\n* Live syntax checker (currently JavaScript\u002FCoffeeScript\u002FCSS\u002FXQuery)\n* Cut, copy, and paste functionality\n\nTake Ace for a spin!\n--------------------\n\nCheck out the Ace live [demo](http:\u002F\u002Face.c9.io\u002Fbuild\u002Fkitchen-sink.html) or get a [Cloud9 IDE account](https:\u002F\u002Fc9.io\u002F) 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:\u002F\u002Fajaxorg.github.io\u002Face\u002Fbuild\u002Fdemo\u002Fbookmarklet\u002Findex.html).\n\nEmbedding Ace\n-------------\n\nAce can be easily embedded into any existing web page. You can either use one of pre-packaged versions of [ace](https:\u002F\u002Fgithub.com\u002Fajaxorg\u002Face-builds\u002F) (just copy one of `src*` subdirectories somewhere into your project), or use requireJS to load contents of [lib\u002Face](https:\u002F\u002Fgithub.com\u002Fajaxorg\u002Face\u002Ftree\u002Fmaster\u002Flib\u002Face) as `ace`\n\n\nThe easiest version is simply:\n\n```html\n\u003Cdiv id=\"editor\">some text\u003C\u002Fdiv>\n\u003Cscript src=\"src\u002Face.js\" type=\"text\u002Fjavascript\" charset=\"utf-8\">\u003C\u002Fscript>\n\u003Cscript>\n    var editor = ace.edit(\"editor\");\n\u003C\u002Fscript>\n```\n*Exploring configuration options [Configuring-Ace](https:\u002F\u002Fgithub.com\u002Fajaxorg\u002Face\u002Fwiki\u002FConfiguring-Ace\u002F)*\n\nWith \"editor\" being the id of the DOM element, which should be converted to an editor. Note that this element must be explicitly sized and positioned `absolute` or `relative` for Ace to work. e.g.\n\n```css\n#editor {\n    position: absolute;\n    width: 500px;\n    height: 400px;\n}\n```\n\nTo change the theme simply include the Theme's JavaScript file\n\n```html\n\u003Cscript src=\"src\u002Ftheme-twilight.js\" type=\"text\u002Fjavascript\" charset=\"utf-8\">\u003C\u002Fscript>\n```\n\nand configure the editor to use the theme:\n\n```javascript\neditor.setTheme(\"ace\u002Ftheme\u002Ftwilight\");\n```\n\nBy default the editor only supports plain text mode; many other languages are available as separate modules. After including the mode's JavaScript file:\n\n```html\n\u003Cscript src=\"src\u002Fmode-javascript.js\" type=\"text\u002Fjavascript\" charset=\"utf-8\">\u003C\u002Fscript>\n```\n\nThe mode can then be used like this:\n\n```javascript\nvar JavaScriptMode = ace.require(\"ace\u002Fmode\u002Fjavascript\").Mode;\neditor.session.setMode(new JavaScriptMode());\n```\n\nto destroy editor use\n\n```javascript\neditor.destroy();\neditor.container.remove();\n```\n\n\nDocumentation\n-------------\n\nAdditional usage information, including events to listen to and extending syntax highlighters, can be found [on the main Ace website](http:\u002F\u002Face.c9.io).\n\nYou can also find API documentation at [https:\u002F\u002Fajaxorg.github.io\u002Face-api-docs\u002F](https:\u002F\u002Fajaxorg.github.io\u002Face-api-docs\u002F).\n\nAlso check out the sample code for the kitchen sink [demo app](https:\u002F\u002Fgithub.com\u002Fajaxorg\u002Face\u002Fblob\u002Fmaster\u002Fdemo\u002Fkitchen-sink\u002Fdemo.js).\n\nIf you still need help, feel free to ask a question on our [discussions page](https:\u002F\u002Fgithub.com\u002Fajaxorg\u002Face\u002Fdiscussions).\n\nRunning Ace\n-----------\n\nAfter the checkout Ace works out of the box. No build step is required. To try it out, simply start the bundled mini HTTP server using Node.JS\n\n```bash\nnode .\u002Fstatic.js\n```\n\nThe editor can then be opened at http:\u002F\u002Flocalhost:8888\u002Fkitchen-sink.html. \n\nTo open the editor with a file:\u002F\u002F\u002F URL see [the wiki](https:\u002F\u002Fgithub.com\u002Fajaxorg\u002Face\u002Fwiki\u002FRunning-Ace-from-file).\n\nBuilding Ace\n-----------\n\nYou do not generally need to build ACE. The [ace-builds repository](https:\u002F\u002Fgithub.com\u002Fajaxorg\u002Face-builds\u002F) endeavours to maintain the latest build, and you can just copy one of _src*_ subdirectories somewhere into your project.\n\nHowever, all you need is Node.js and npm installed to package ACE. Just run `npm install` in the ace folder to install dependencies:\n\n```bash\nnpm install\nnode .\u002FMakefile.dryice.js\n```\n\nTo package Ace, we use the dryice build tool developed by the Mozilla Skywriter team. Call `node Makefile.dryice.js` on the command-line to start the packing. This build script accepts the following options\n\n```bash\n-m                 minify build files with uglify-js          \n-nc                namespace require and define calls with \"ace\"\n-bm                builds the bookmarklet version\n--target .\u002Fpath    specify relative path for output folder (default value is \".\u002Fbuild\")\n```\n\nTo generate all the files in the ace-builds repository, run `node Makefile.dryice.js full --target ..\u002Face-builds`\n\nRunning the Unit Tests\n----------------------\n\nThe Ace unit tests can run on node.js. Assuming you have already done `npm install`, just call:\n\n```bash\nnpm run test\n```\n\nYou can also run the tests in your browser by serving:\n\n    http:\u002F\u002Flocalhost:8888\u002Fsrc\u002Ftest\u002Ftests.html\n\nThis makes debugging failing tests much easier.\n\nContributing\n-----------------------------\n\nAce is a community project and wouldn't be what it is without contributions! We actively encourage and support contributions. The Ace source code is released under the BSD License. This license is very simple, and 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\nFeel free to fork and improve\u002Fenhance Ace any way you want. If you feel that the editor or the Ace community will benefit from your changes, please open a pull request. For more information on our contributing guidelines, see [CONTRIBUTING.md](https:\u002F\u002Fgithub.com\u002Fajaxorg\u002Face\u002Fblob\u002Fmaster\u002FCONTRIBUTING.md).\n\n","Ace 是一个用 JavaScript 编写的独立代码编辑器，旨在为浏览器环境提供与本地编辑器（如 TextMate、Vim 或 Eclipse）相媲美的功能、易用性和性能。其核心功能包括支持超过 120 种语言的语法高亮、20 多种主题、自动缩进、多光标选择以及处理大型文档的能力等。Ace 支持自定义键绑定（包括 Vim 和 Emacs 模式）、正则表达式搜索替换、括号匹配、软标签切换、隐藏字符显示等功能。此外，它还具备实时语法检查能力（目前支持 JavaScript\u002FCoffeeScript\u002FCSS\u002FXQuery）。适用于需要在网页或 JavaScript 应用中嵌入强大代码编辑功能的各种场景，例如在线开发环境、代码示例展示页面等。",2,"2026-06-11 02:51:41","top_language"]