Skip to content
 
 

Repository files navigation

DevKt

GitHub (pre-)release

CI Status
Travis CI (test, no artifact) Build Status
AppVeyor (artifact, no test) Build status
CircleCI (both) CircleCI

This is a DevCpp-like cross-platform Kotlin IDE features in lightweight.

You can download a snapshot here, the one ends with "-all.jar" is an executable jar.

Features

  • Fast (at least faster than Emacs/Eclipse/IntelliJ/CLion/VSCode/Atom)
  • Lightweight (Just a tiny Java Swing application)
  • Kotlin compiler integration (100% correct parsing)
  • JetBrains IDE icons
  • Build as jar/class files, run after build, just one click
  • Cross platform (windows/macos/linux), just an executable jar
  • One property-based configuration file, hackable

Just a simple comparison:

DevKt

Correct
IntelliJ IDEA

Correct,
with inspections
Emacs

Incorrect
VSCode

Incorrect

Screenshots

Progress

  • Properties-based settings (hackable!)
    • Deals with missing properties
    • Smart auto saving
    • Highlight color customization
    • Hot reload (Due to some limitations of Swing it's really hard to implement)
    • Font customization
      • Font size customization
    • Text style customization
    • Keymap customization
    • Internationalization
    • Settings UI
  • File operations
    • Create new file when no files are opened
    • Save and sync
    • Show in files
    • Record recently opened files
    • Create new files from templates (kts, kt, kt2js, android activity, multiplatform codes, etc.)
    • Drag file to open
  • Editor
    • Lexer based highlights
    • Undo and redo (by javax.swing.undo.UndoManager.UndoManager)
    • Copy/paste/cut/select all
    • Line number
    • Background image
    • Insert/delete paired characters
    • Semantic-based highlights
      • Highlight in daemon
      • Prioritized
      • Incremental
    • Highlight selected token
    • Auto indent
      • Smart indent
      • Indent with spaces
  • Build and run
    • Build
      • Build as class files
      • Build as jar
      • Build as javascript module
    • Run
      • Run as class files
      • Run as jar
      • Run as kotlin script
  • Others
    • Open alternative editors' download page in browser
    • MacOS toolbar support
    • PsiViewer
    • Memory indicator
    • Built-in documentation

Build

  • (Optional) Download and decompress Sarasa Gothic font to res/font
  • Use gradlew fatJar to build this application
  • Run this application with java -jar build/libs/devkt-[some unimportant text]-all.jar

About

A DevCpp-like cross-platform Kotlin IDE features in lightweight.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages