Skip to content

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

License

Notifications You must be signed in to change notification settings

avikzaman/CodeEditor

 
 

Repository files navigation

sora-editor (aka CodeEditor)

GitHub license Maven Central 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. Note that APIs are unstable. It is not recommended to use this project for production use. Download newest sources from Releases instead of cloning this repository directly. Issues and pull requests are welcome.

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
  • Error/Warning/Typo/Deprecated indicators
  • Incremental highlight Analysis
  • Plugin System

Language Supported

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

Screenshots

Wordwrap Reporting

How to use this editor

Add to your app's dependencies:

implementation 'io.github.Rosemoe.sora-editor:<moduleName>:<versionName>'

Available modules:

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

Detailed: Get started

License

CodeEditor - the awesome code editor for Android
Copyright (C) 2020-2021  Rosemoe

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
USA

Please contact Rosemoe by email [email protected] if you need
additional information or have any questions

Discuss

Acknowledgements

Thanks to JetBrains for allocating free open-source licences for IDEs such as IntelliJ IDEA.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 94.6%
  • ANTLR 4.0%
  • Lex 1.4%