CodeMirror

CodeMirror是一个多才多艺的、JavaScript实现的在浏览器中使用的文本编辑器。(CodeMirror is a versatile text editor implemented in JavaScript for the browser.)

  • Owner: codemirror/codemirror5
  • Platform: Linux, Mac, Windows
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

CodeMirror是一个多才多艺的、JavaScript实现的在浏览器中使用的文本编辑器。这是专门用于编辑代码,带有大量的语言模式和实现更高级的编辑功能的插件。

CodeMirror 具有丰富的编程API和一个CSS主题系统,可用于定制适合您的应用程序,和扩展新功能。

CodeMirror是一个在MIT许可下共享的开源项目。 它是用于Firefox、Chrome和Safari的开发工具,Light Table、Adobe Brackets、Bitbucket和许多其他项目中使用的编辑器。

您可以在项目页面上找到更多信息(和手册)。 有关问题和讨论,请使用论坛

特性
  • 支持超过100种语言的开箱即用
  • 功能强大,可组合的语言模式系统
  • 自动完成(XML)
  • 代码折叠
  • 可配置的键绑定
  • Vim,Emacs和Sublime Text绑定
  • 搜索和替换界面
  • 支架和标签匹配
  • 支持拆分视图
  • Linter集成
  • 混合字体大小和样式
  • 各种主题
  • 能够调整大小以适应内容
  • 内联和阻止小部件
  • 可编程gutters
  • 使文本范围成为样式,只读或原子
  • 双向文本支持
  • 许多其他方法和插件......

Overview

Name With Ownercodemirror/codemirror5
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 4)
PlatformLinux, Mac, Windows
License:MIT License
Release Count185
Last Release Name5.65.16 (Posted on 2023-11-20 10:57:51)
First Release Namebeta1 (Posted on )
Created At2011-01-14 13:44:03
Pushed At2024-04-24 06:10:35
Last Commit At2024-04-22 12:46:40
Stargazers Count26.6k
Watchers Count655
Fork Count4.9k
Commits Count7.2k
Has Issues Enabled
Issues Count4181
Issue Open Count403
Pull Requests Count590
Pull Requests Open Count26
Pull Requests Close Count2265
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

CodeMirror

Build Status
NPM version
Join the chat at https://gitter.im/codemirror/CodeMirror

CodeMirror is a versatile text editor implemented in JavaScript for
the browser. It is specialized for editing code, and comes with over
100 language modes and various addons that implement more advanced
editing functionality. Every language comes with fully-featured code
and syntax highlighting to help with reading and editing complex code.

A rich programming API and a CSS theming system are available for
customizing CodeMirror to fit your application, and extending it with
new functionality.

You can find more information (and the
manual) on the project
page
. For questions and discussion, use the
discussion forum.

See
CONTRIBUTING.md
for contributing guidelines.

The CodeMirror community aims to be welcoming to everybody. We use the
Contributor Covenant
(1.1)
as our code of
conduct.

Installation

Either get the zip file with
the latest version, or make sure you have Node
installed and run:

npm install codemirror

NOTE: This is the source repository for the library, and not the
distribution channel. Cloning it is not the recommended way to install
the library, and will in fact not work unless you also run the build
step.

Quickstart

To build the project, make sure you have Node.js installed (at least version 6)
and then npm install. To run, just open index.html in your
browser (you don't need to run a webserver). Run the tests with npm test.

To the top