Giter VIP home page Giter VIP logo

groovy-emacs-modes's Introduction

Emacs Modes for Groovy and Grails

Travis-CI Coverage Status Licence MELPA MELPA

This repository contains Emacs modes for Groovy and Grails. The major features are syntax highlighting with groovy-mode, REPL integration with run-groovy and Grails project navigation with grails-mode.

Installation

These modes should work with Emacs 23, but we recommend Emacs 24+.

These packages are available on MELPA. To use rolling releases:

(require 'package)
(add-to-list 'package-archives
             '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)

Alternatively, if you just want stable releases:

(require 'package)
(add-to-list 'package-archives
             '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)

A Bit of History

This mode was originally developed as a derived mode of java-mode (a derived mode of cc-mode) inspired by Dylan R.E. Moonfire's C# mode. There are however what seem to be insurmountable obstacles to making groovy-mode based on CC Mode work as people want. Wilfred Hughes created a new groovy-mode (standalone) independent of CC Mode.

The CC Mode version of groovy-mode used to be master, and is the basis for the 1.0.1 version on MELPA. The work on standlone groovy-mode happened on a feature branch. As of 2017-05-08T08:00+01:00, the CC Mode version has been switched to the 1.X branch and the standalone version is now master and will be released as 2.0.0 as soon as viable.

cc-mode derived mode

The CC Mode version of groovy-mode is configured by overriding cc-mode settings, such as c-basic-offset.

Standalone mode (the default)

The new, and now default, standalone mode provides more robust highlighting and indentation, plus niceties like string interpolation highlighting, compared to the CC Mode based version..

screenshot

You can configure the standalone groovy-mode with M-x customize RET groovy-mode RET.

groovy-emacs-modes's People

Contributors

akatov avatar buzztaiki avatar marcpa00 avatar purcell avatar russel avatar ujpandey avatar wilfred avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.