Skip to content

Commit 687d3a4

Browse files
travkin79jonahgraham
authored andcommitted
Add two more symbol tags: Overrides and Implements
See microsoft/language-server-protocol#2003
1 parent 1ec37d8 commit 687d3a4

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/SymbolTag.java

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,26 @@ public enum SymbolTag {
178178
* <p>This is an LSP <b>proposal</b>. See <a href="https://github.com/microsoft/language-server-protocol/pull/2003">PR</a></p>
179179
*/
180180
@ProtocolDraft
181-
ReadOnly(20);
181+
ReadOnly(20),
182+
183+
/**
184+
* <p>Render a symbol as "overriding", e.g. a Java method replaces the implementation from an
185+
* equally named method (with same signature) from a parent class.</p>
186+
*
187+
* <p>This is an LSP <b>proposal</b>. See <a href="https://github.com/microsoft/language-server-protocol/pull/2003">PR</a></p>
188+
*/
189+
@ProtocolDraft
190+
Overrides(21),
191+
192+
/**
193+
* <p>Render a symbol as "implementing", e.g. a Java method implements a method with same signature declared in an
194+
* interface or implements an abstract method (with same signature) from an abstract parent class.</p>
195+
*
196+
* <p>This is an LSP <b>proposal</b>. See <a href="https://github.com/microsoft/language-server-protocol/pull/2003">PR</a></p>
197+
*/
198+
@ProtocolDraft
199+
Implements(22);
200+
182201

183202
private final int value;
184203

0 commit comments

Comments
 (0)