Commit graph

90 commits

Author SHA1 Message Date
JAremko
77c680160e Add placeholder tags 2019-05-05 20:40:47 +03:00
Ivan Yonchovski
03e6bc0691 [java] init backends conditionally
- otherwise there are shortcut collisions
2019-04-15 21:20:32 +02:00
Seong Yong-ju
cb75920bb7 Add missing key prefixes for java-mode, gradle-mode 2019-04-10 22:48:21 +02:00
Ivan Yonchovski
f346ae0683 Fix java/python/javascript/rust lsp backends 2018-12-22 12:51:05 +02:00
emacspace
45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00
Ivan Yonchovski
fc2d220b5e dap-layer implementation
- I had some issues related to finding the corresponding shortcuts for each of
the commands and I am looking for suggestions for improvements.

- updated the lsp-java readme since the server installation is now automatic. If
you already have jdt server installation, please run lsp-java-update-server
which will download the related dap-mode related stuff.

- Make sure that you have latest melpa versions of lsp-java, lsp-ui and dap-mode
since several issues related to the java integration were fixed lately.

- dap-mode is pretty young package and it is not extensively tested

- dap-hydra which will be used as a transient state for the breakpoints and
debugging, in general, is not synched with the shortcuts in the layer. I will sync
them once there is agreement on the shortcuts configuration. Also, I have not
updated lsp-java README.org with the corresponding shortcuts for the same
reason.

- The debug integration with the python lsp layer will be implemented in
separate PR.

- There will be few more functions that are going to be added to the dap-mode at
some point and they would require shortcuts too:
* suspend/kill thread I guess - "m d t s" "m d t k"?
* watches - "m d l w"
* exception breakpoints - I have to figure out how it will look like on emacs
  side.
* goto point "m d H"?
2018-11-25 23:03:08 +00:00
JAremko
141b6328e3 Reformat docs 2018-11-08 22:37:23 +02:00
Ivan Yonchovski
95abd6ce67
Update lsp-java README according to latest lsp-java 2018-10-31 20:52:02 +02:00
JAremko
cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
Robert O'Connor
aabe2817df
java layer: Fix typo in README 2018-10-10 22:08:55 +03:00
kyoncho
862d873fa8 LSP Java backend for the Java layer
Fixes #10654

Added new backend for the Java.
2018-08-21 20:36:06 +01:00
gdkrmr
4af499588a fix java layer 2018-08-09 23:02:16 +01:00
syl20bnr
3f47bf8e11 Move major specific error key bindings to SPC m E prefix
Also add a convention for it.
2018-08-09 23:02:16 +01:00
JAremko
6946e255e6 Reformat docs 2018-07-20 02:45:21 +03:00
Bjarke Vad Andersen
ebd8bffbad scala/java: Remove broken ensime key bindings and fix yanking types 2018-07-10 23:45:33 +03:00
Miciah Masters
e0b751bee3 Avoid non-idempotent use of push in init code
Replace push with add-to-list in layer init functions and related code.

Modify spacemacs|add-toggle to check for and update an existing toggle in
spacemacs-toggles and only create a new toggle if none already existed.

Replace a conditional push onto erc-packages with use of :toggle.

When initializing which-key, set which-key-replacement-alist to its default
or customized setting before adding all the Spacemacs replacements.  We
want to keep the stock replacements but avoid adding duplicates of the
Spacemacs replacements.

Replace the emacs-lisp-mode-hook lambda with a named function to avoid
adding duplicate hooks (which can add duplicate definitions of the
evil-surround pair).
2018-06-05 22:17:13 -04:00
Michael Rohleder
24ca355b6a add org-babel support for some of the more popular languages. (#10738)
* add org-babel support for some of the more popular languages.
* alphabetical sorted package names.
* removed blank lines at EOF.
2018-05-30 09:07:21 -04:00
Miciah Dashiel Butler Masters
78297be625 Fix various typos
* Fix various isolated typos

"apppend" -> "append"

"availabe" -> "available"

"Descripti using ternon" -> "Description"

"you have not them" -> "you don't have them"

"new on" -> "new one"

"plained" -> "curved"

"repel" -> "REPL"

"vairable" -> "variable"

* Fix a few errors in the CoffeeScript layer readme

Add a missing "the".

Correct a reference to the layer as "javascript" to "coffeescript".

Fix the syntax on the link to CoffeeLint.

* Fix typos: "dofile" -> "dotfile"

* Fix typos: "formated" and "formating"

"formated" -> "formatted"

"formating" -> "formatting"

* hy: Fix docstrings in funcs.el

Fix copy-and-pasted docstring text for
spacemacs/hy-shell-eval-current-form-and-go and
spacemacs/hy-shell-eval-region-and-go.

* Fix typos: "indendation" -> "indentation"

* Fix typos: "the the", "a a"

Fix duplicated (or misplaced) articles.

* Fix typos: "wether" -> "whether"

* Fix typos: "intialize" -> "initialize"
2018-05-23 22:12:30 -04:00
syl20bnr
ac4b2686b4 java: enable flycheck for meghanada backend only if possible 2018-05-13 22:39:17 -04:00
syl20bnr
0877f2f92a typescript, java: use new :append-hooks and :call-hooks
This is necessary as we use hack-local-variables-hook to setup the backends,
at this time it is too late to setup hooks, we need to call the function right
away.
2018-05-12 02:33:52 -04:00
syl20bnr
ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
EMayej Bee
971719f55c fix(java): typo 2018-03-04 10:28:12 +08:00
syl20bnr
3731d0d3fc Move major specific error key bindings to SPC m E prefix
Also add a convention for it.
2018-03-03 16:45:00 -05:00
syl20bnr
29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
JAremko
6397abe2ff Fix Java layer README 2018-02-28 04:58:24 +02:00
syl20bnr
326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
Robbert van der Helm
c61ae1a1c1 Add ivy support to the gtags layer
It would be much better to have a single function for each layer that
initializes ggtags, helm-gtags and counsel-gtags for a mode.
2017-12-17 22:03:01 -05:00
Alexander Kjeldaas
adfccb147b Added gradle instructions. 2017-12-17 18:58:17 -05:00
syl20bnr
4c7bd2fde1 java: make java layer depend on groovy layer 2017-12-17 18:45:46 -05:00
syl20bnr
17fc89f9e7 java: improve maven and gradle support (also for groovy)
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.
2017-12-17 18:45:46 -05:00
Joao Azevedo
d947556406 Add ENSIME jump handlers to the proper modes
Move scala handler to scala layer
2017-12-17 15:24:47 -05:00
smile13241324
1df1a06d5b Fix documentation for java, major-modes and purescript layer 2017-12-03 17:55:27 +02:00
syl20bnr
8a5771559e core: change scope of elpa stable variables
make them public when they are used outside of core-configuration-layer.el
make them private when they are used only on this file.
2017-11-01 23:23:34 -04:00
syl20bnr
a496401e1f Move groovy configuration to its own layer and improve it
Enable company, org babel and repl.
2017-08-28 13:49:09 -04:00
JAremko
06301b2212 Improve exporting/testing 2017-08-18 20:50:21 +03:00
Dela Anthonio
7e57b1f341 java: Add missing key bindings to README 2017-07-10 09:38:44 +02:00
Eivind Fonn
f4b53d2a4f Rename :depends to :requires 2017-07-03 09:54:53 +02:00
syl20bnr
e2e532bb49 core: change <function>p to <function>-p suffixes for consistency
Also defined aliases for backward compatibility with `usedp` functions.
2017-07-02 10:09:39 -04:00
Eivind Fonn
08561d8631 core: implement :depends for package declarations
This replaces the older pattern
:toggle (configuration-layer/package-usedp ..)

This implementation ensures that :disabled-for honors dependent packages, i.e.
if package a depends on package b, which is owned by layer c, and layer c is
disabled for layer d, then neither package a nor b will be configured for layer
d. Previously, this was only true for package a, but not b.

This commit also fixes:

- configuration-layer/describe-package now shows which post-init and pre-init
  functions are disabled, if any
- Does not recreate all layer objects unconditionally when calling
  configuration-layer/discover-layers. Previously, this led to all layers being
  recreated after e.g. `SPC h SPC`, without any of the dotfile information.
  Since this information is now necessary for
  configuration-layer/describe-package, it’s important that we don’t clear the
  indexed layers when invoking this function.
2017-06-22 11:53:05 +02:00
Eivind Fonn
4178a3de6e Add defalias for ensime-type-at-point 2017-06-21 10:07:55 +02:00
Joao Azevedo
61737e6d79 Replace usage of ensime-print-type-at-point by ensime-type-at-point
The `ensime-print-type-at-point` method was recently renamed to
`ensime-type-at-point`. This fixes the method call.
2017-06-21 10:03:00 +02:00
Dela Anthonio
2c2d7fe038 java: Add eclim-java-new keybinding
This commit addresses #8987.
2017-06-12 12:21:05 +02:00
Diego Alvarez
dfa18dafc3 Make ensime use stable version as unstable is for ensime devs 2017-05-24 12:22:20 +02:00
JAremko
6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
WillianPaiva
e1e091eee8 add a keybind for the function eclim-java-run-run 2017-05-18 23:12:56 -04:00
Robert (Robby) O'Connor
097f341eac Fix typo in java layer README 2017-05-18 18:53:08 +02:00
syl20bnr
bff206af37 Fix last documentation errors
Should be good now :-)
2017-05-14 23:05:26 -04:00
syl20bnr
8ece2fd1f2 Fix documentation error reported by Travis 2017-05-14 22:56:42 -04:00
Diego Alvarez
6a55eba49b evilify ensime search in insert/normal mode 2017-05-14 13:44:44 -04:00
JAremko
c1e4556882 Format and cleanup docs. Fix links. 2017-04-28 23:29:14 -04:00