17fc89f9e7
Add new packages `mvn` and `maven-test-mode`. Move `gradle-mode` configuration from groovy layer to java layer New prefix commands `SPC m m` for maven and `SPC m l` for gradle. Make maven and gradle commands available in java-mode. Update documentation.
36 lines
1.4 KiB
Org Mode
36 lines
1.4 KiB
Org Mode
#+TITLE: Groovy layer
|
|
|
|
[[file:img/groovy.png]]
|
|
|
|
* Table of Contents :TOC_4_gh:noexport:
|
|
- [[#description][Description]]
|
|
- [[#features][Features:]]
|
|
- [[#install][Install]]
|
|
- [[#key-bindings][Key bindings]]
|
|
- [[#repl][REPL]]
|
|
|
|
* Description
|
|
This layer supports [[http://www.groovy-lang.org/][Groovy]] development in Spacemacs.
|
|
|
|
** Features:
|
|
- Basic dabbrev auto-completion with company
|
|
- Auto-generate imports with [[https://github.com/mbezjak/emacs-groovy-imports][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
|
|
** 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 |
|