[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot c795e3e 09/45: Override eglot-execute-command for
From: |
João Távora |
Subject: |
[elpa] externals/eglot c795e3e 09/45: Override eglot-execute-command for eclipse.jdt.ls server |
Date: |
Thu, 22 Nov 2018 19:15:27 -0500 (EST) |
branch: externals/eglot
commit c795e3eb76988c5c1a43136464f58d9e5ffc0794
Author: Michał K <address@hidden>
Commit: mkcms <address@hidden>
Override eglot-execute-command for eclipse.jdt.ls server
* eglot.el (eglot-execute-command eglot-eclipse-jdt): New defmethod.
---
eglot.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/eglot.el b/eglot.el
index daae454..a23e73d 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1984,6 +1984,11 @@ If SKIP-SIGNATURE, don't try to send
textDocument/signatureHelp."
"-configuration" config
"-data" workspace)))))
+(cl-defmethod eglot-execute-command
+ ((_server eglot-eclipse-jdt) (_cmd (eql java.apply.workspaceEdit)) arguments)
+ "Eclipse JDT breaks spec and replies with edits as arguments."
+ (mapc #'eglot--apply-workspace-edit arguments))
+
;; FIXME: A horrible hack of Flymake's insufficient API that must go
;; into Emacs master, or better, 26.2
- [elpa] externals/eglot updated (821b498 -> f291816), João Távora, 2018/11/22
- [elpa] externals/eglot 489080b 02/45: eglot-ignored-server-capabilites: Prefer all choices over "Other", João Távora, 2018/11/22
- [elpa] externals/eglot 69b8428 01/45: Make eglot-ignored-server-capabilites more user-friendly (#126), João Távora, 2018/11/22
- [elpa] externals/eglot 31fcd91 03/45: Handle case when diagnostic :character is out of range, João Távora, 2018/11/22
- [elpa] externals/eglot 9585b74 04/45: Merge pull request #104 from mkcms/fix-diagnostics-wrong-type-argument, João Távora, 2018/11/22
- [elpa] externals/eglot ff04bc0 06/45: Improve signature help, João Távora, 2018/11/22
- [elpa] externals/eglot f250784 10/45: Handle case when project was not found in eclipse.jdt.ls contact, João Távora, 2018/11/22
- [elpa] externals/eglot c795e3e 09/45: Override eglot-execute-command for eclipse.jdt.ls server,
João Távora <=
- [elpa] externals/eglot 5571f10 05/45: Sort references and definitions by line number, João Távora, 2018/11/22
- [elpa] externals/eglot f0b5367 08/45: Per #63: Add support for eclipse.jdt.ls server, João Távora, 2018/11/22
- [elpa] externals/eglot 5b043fb 12/45: * .travis.yml (install): Download eclipse.jdt.ls server., João Távora, 2018/11/22
- [elpa] externals/eglot aefa498 20/45: Larger margin for printing test failure backtraces, João Távora, 2018/11/22
- [elpa] externals/eglot 19aded0 17/45: Remove duplicates from imenu, João Távora, 2018/11/22
- [elpa] externals/eglot 504fd25 14/45: Fix misspelling of "outstanding" (#74), João Távora, 2018/11/22
- [elpa] externals/eglot a406190 07/45: Per #63: Allow function contacts to be interactive, João Távora, 2018/11/22
- [elpa] externals/eglot 27696d6 23/45: Use the container name of a symbol in imenu, João Távora, 2018/11/22
- [elpa] externals/eglot 6ebbd36 11/45: Add tests for eclipse.jdt.ls connection, João Távora, 2018/11/22
- [elpa] externals/eglot 22e5c57 18/45: Don't ignore unknown SymbolKinds in imenu, João Távora, 2018/11/22