Skip to content

emacsattic/ceylon-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ceylon-mode

MELPA MELPA Stable

A major Emacs mode for editing Ceylon code.

Current status

The mode works, and is good enough for general use in my opinion. Development from my side will continue on an on-and-off basis as I find the time to work on it; pull requests are always welcome!

Features

  • Syntax highlighting
  • Rudimentary indentation
  • Compiling your program (C-c C-c)
  • Running your program (C-c C-r)
  • Code formatting using ceylon.formatter (C-c C-f)

Installation

The ceylon-mode package is available on MELPA; if you have MELPA set up locally, you can run:

M-x package-refresh-contents
M-x package-install ceylon-mode

To install the package from source, clone the repository somewhere, open Emacs, run M-x package-install-file, enter the path to ceylon-mode.el and hit Enter.

The code formatting functions require the ceylon format plugin, which is usually bundled with the Ceylon distribution.

Usage

The package automatically sets itself up to become the default mode for *.ceylon files; you can also explicitly trigger Ceylon mode with M-x ceylon-mode.

You can view the full mode documentation with C-h f ceylon-mode.

Related projects

bck39/ceylon-mode is another Ceylon mode for Emacs.

License

The content of this repository is released under the AGPL v3 or later, as provided in the LICENSE file that accompanied this code.

By submitting a "pull request" or otherwise contributing to this repository, you agree to license your contribution under the license mentioned above.