spacemacs/layers/+lang/groovy
2017-12-17 15:29:11 -05:00
..
img
funcs.el Add Gradle support to the Groovy layer 2017-12-17 15:29:11 -05:00
packages.el Add Gradle support to the Groovy layer 2017-12-17 15:29:11 -05:00
README.org Add Gradle support to the Groovy layer 2017-12-17 15:29:11 -05:00

Groovy layer

/TakeV/spacemacs/media/commit/a8340a02620a23383c7e28f7d4c3e949565d7709/layers/+lang/groovy/img/groovy.png

Description

This layer supports Groovy development in Spacemacs.

Features:

  • Basic dabbrev auto-completion with company
  • Auto-generate imports with groovy-imports
  • Groovy REPL integration

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add groovy to the existing dotspacemacs-configuration-layers list in this file.

Key bindings

Gradle

Key Binding Description
SPC m c c Compile
SPC m c r Clean and compile
SPC m c t Execute a Gradle task
SPC m t a Run all tests
SPC m t b Run current buffer tests
SPC m t t Run a specific test

REPL

Key Binding Description
SPC m s b send buffer to REPL and stay in buffer
SPC m s B send buffer and and switch to REPL buffer
SPC m s e send sexp in front of the cursor to the REPL
SPC m s f send function to REPL and stay in buffer
SPC m s F send function to REPL and switch to REPL buffer
SPC m s r send current region to REPL and stay in buffer
SPC m s R send current region to REPL and switch to REPL buffer