This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/groovy
duianto 0a06c7ca6b Fix filenames in layer file headers
Also fixed the groovy/funcs.el header which said: Java
2020-02-20 00:07:30 +01:00
..
img
funcs.el Fix filenames in layer file headers 2020-02-20 00:07:30 +01:00
packages.el groovy: add import for symbol key binding 2018-05-07 01:03:47 -04:00
README.org Switch to the new layers generator 2019-05-15 21:08:21 +03:00

Groovy layer

/TakeV/spacemacs/media/commit/0a7ab7873af1948125b8363a20d3a0cb8bee3fc9/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

Imports

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

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