From f980d9a76d618b0c7f54213fc33085fa5c89382e Mon Sep 17 00:00:00 2001 From: Dietrich Travkin Date: Thu, 5 Feb 2026 16:42:17 +0100 Subject: [PATCH] Add two more symbol tags: Overrides and Implements See https://github.com/microsoft/language-server-protocol/pull/2003 --- .../java/org/eclipse/lsp4j/SymbolTag.java | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/SymbolTag.java b/org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/SymbolTag.java index 54a352a1..04de91d9 100644 --- a/org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/SymbolTag.java +++ b/org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/SymbolTag.java @@ -178,7 +178,26 @@ public enum SymbolTag { *

This is an LSP proposal. See PR

*/ @ProtocolDraft - ReadOnly(20); + ReadOnly(20), + + /** + *

Render a symbol as "overriding", e.g. a Java method replaces the implementation from an + * equally named method (with same signature) from a parent class.

+ * + *

This is an LSP proposal. See PR

+ */ + @ProtocolDraft + Overrides(21), + + /** + *

Render a symbol as "implementing", e.g. a Java method implements a method with same signature declared in an + * interface or implements an abstract method (with same signature) from an abstract parent class.

+ * + *

This is an LSP proposal. See PR

+ */ + @ProtocolDraft + Implements(22); + private final int value;