A major Emacs mode for editing Ceylon code.
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!
- 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
)
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.
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
.
bck39/ceylon-mode is another Ceylon mode for Emacs.
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.