Table of Contents

Groovy layer

Table of ContentsClose

groovy.png

1 Description

This layer supports Groovy development in Spacemacs.

1.1 Features:

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

2 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.

3 Key bindings

3.1 Imports

Key binding Description
SPC m r i Add import for symbol around point

3.2 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

Author: Travis CI User

Created: 2019-01-22 Tue 20:43

Validate