/CodeEditor-1

A cool code editor library on Android with syntax-highlighting and auto-completion.

Primary LanguageJavaApache License 2.0Apache-2.0

CodeEditor

JitPack Telegram QQ
A cool and optimized code editor on Android platform with good performance and nice features.

Work In Progress This project is still developing slowly. Bugs may be inside. It is not recommended to use this project for production use.
Note: Any method or field can be changed, moved or even deleted at current period.
If you find any bug or require any enhancement, please send it to me by issues or other ways. Download newest sources from Releases instead of cloning this repository directly.

Issues and pull requests are welcome.
Note: Language issues may not be handled.

Features

  • Smooth syntax highlight
  • Auto completion
  • Auto indent
  • Code block lines
  • Scale text
  • Select text
  • Scroll, Scrollbars, EdgeEffect, OverScroll
  • Undo/redo
  • Search and replace
  • Shortcuts
  • Auto wordwrap
  • Show non-printable characters
  • Incremental highlight Analysis
  • Plugin System

Language Supported

  • Java, JavaScript, C, C++, HTML, Python (Basic Support:highlight, code block line,identifier and keyword auto-completion). Code block line isn't available for HTML Language

Screenshots

View Outline Auto Complete Select Text Search and Replace Wordwrap

How to use this editor

  • Step 1.Add the JitPack repository to your build file
    Add it in your root build.gradle at the end of repositories:
allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}
  • Step 2. Add the dependency to your app
dependencies {
  implementation 'com.github.Rosemoe.CodeEditor:<moduleName>:<versionName>'
}

Available modules:

  • editor
  • language-base
  • language-java
  • language-html
  • language-python
  • language-universal

Some more information

Go to Wiki

Discuss