Skip to content

Commit 10c4b68

Browse files
committed
Issue #142: Update to 1.25.0 of debug protocol
Signed-off-by: Jonah Graham <[email protected]>
1 parent 2532295 commit 10c4b68

File tree

7 files changed

+78
-13
lines changed

7 files changed

+78
-13
lines changed

org.eclipse.lsp4j.debug/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
```
77
$ git clone [email protected]:jonahkichwacoders/vscode-debugadapter-node.git
8-
$ git checkout 4dc5dad2fac01be204dc19548474032c18ca6d06 # (on dsp branch)
8+
$ git checkout 223ec4d35edc91cb88a9ddb8b495cd79b1155c81 # (on dsp branch)
99
$ npm install
1010
$ npm run compile
1111
$ # generate java and xtend files to default location

org.eclipse.lsp4j.debug/src/main/java/org/eclipse/lsp4j/debug/DebugProtocol.xtend

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ import org.eclipse.lsp4j.jsonrpc.messages.Either
1616
/**
1717
* Declaration of parameters, response bodies, and event bodies.
1818
* <p>
19-
* Auto-generated from debugProtocol.json schema version 1.24.0. Do not edit manually.
19+
* Auto-generated from debugProtocol.json schema version 1.25.0. Do not edit manually.
2020
*/
2121
class DebugProtcol {
2222
/**
2323
* Version of debugProtocol.json this class was derived from.
2424
*/
25-
public static final String SCHEMA_VERSION = "1.24.0";
25+
public static final String SCHEMA_VERSION = "1.25.0";
2626
}
2727

2828
/**
@@ -415,7 +415,7 @@ class RunInTerminalRequestArguments {
415415
*/
416416
String[] args;
417417
/**
418-
* Environment key-value pairs that are added to the default environment.
418+
* Environment key-value pairs that are added to or removed from the default environment.
419419
* <p>
420420
* This is an optional property.
421421
*/
@@ -1982,15 +1982,47 @@ class VariablePresentationHint {
19821982
* Possible values include - but not limited to those defined in {@link VariablePresentationHintKind}
19831983
*/
19841984
public interface VariablePresentationHintKind {
1985+
/**
1986+
* Indicates that the object is a property.
1987+
*/
19851988
public static final String PROPERTY = "property";
1989+
/**
1990+
* Indicates that the object is a method.
1991+
*/
19861992
public static final String METHOD = "method";
1993+
/**
1994+
* Indicates that the object is a class.
1995+
*/
19871996
public static final String CLASS = "class";
1997+
/**
1998+
* Indicates that the object is data.
1999+
*/
19882000
public static final String DATA = "data";
2001+
/**
2002+
* Indicates that the object is an event.
2003+
*/
19892004
public static final String EVENT = "event";
2005+
/**
2006+
* Indicates that the object is a base class.
2007+
*/
19902008
public static final String BASE_CLASS = "baseClass";
2009+
/**
2010+
* Indicates that the object is an inner class.
2011+
*/
19912012
public static final String INNER_CLASS = "innerClass";
2013+
/**
2014+
* Indicates that the object is an interface.
2015+
*/
19922016
public static final String INTERFACE = "interface";
2017+
/**
2018+
* Indicates that the object is the most derived class.
2019+
*/
19932020
public static final String MOST_DERIVED_CLASS = "mostDerivedClass";
2021+
/**
2022+
* Indicates that the object is virtual, that means it is a synthetic object introduced by the adapter for
2023+
* rendering purposes, e.g. an index range for large arrays.
2024+
*/
2025+
public static final String VIRTUAL = "virtual";
19942026
}
19952027

19962028
/**

org.eclipse.lsp4j.debug/src/main/java/org/eclipse/lsp4j/debug/services/IDebugProtocolClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
/**
2424
* Declaration of client notifications.
2525
* <p>
26-
* Auto-generated from debugProtocol.json schema version 1.24.0. Do not edit
26+
* Auto-generated from debugProtocol.json schema version 1.25.0. Do not edit
2727
* manually.
2828
*/
2929
public interface IDebugProtocolClient {
3030
/**
3131
* Version of debugProtocol.json this class was derived from.
3232
*/
33-
public static final String SCHEMA_VERSION = "1.24.0";
33+
public static final String SCHEMA_VERSION = "1.25.0";
3434

3535
/**
3636
* Event message for 'initialized' event type.

org.eclipse.lsp4j.debug/src/main/java/org/eclipse/lsp4j/debug/services/IDebugProtocolServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@
6464
/**
6565
* Declaration of server requests.
6666
* <p>
67-
* Auto-generated from debugProtocol.json schema version 1.24.0. Do not edit
67+
* Auto-generated from debugProtocol.json schema version 1.25.0. Do not edit
6868
* manually.
6969
*/
7070
public interface IDebugProtocolServer {
7171
/**
7272
* Version of debugProtocol.json this class was derived from.
7373
*/
74-
public static final String SCHEMA_VERSION = "1.24.0";
74+
public static final String SCHEMA_VERSION = "1.25.0";
7575

7676
/**
7777
* runInTerminal request; value of command field is 'runInTerminal'.

org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/DebugProtcol.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
/**
1111
* Declaration of parameters, response bodies, and event bodies.
1212
* <p>
13-
* Auto-generated from debugProtocol.json schema version 1.24.0. Do not edit manually.
13+
* Auto-generated from debugProtocol.json schema version 1.25.0. Do not edit manually.
1414
*/
1515
@SuppressWarnings("all")
1616
public class DebugProtcol {
1717
/**
1818
* Version of debugProtocol.json this class was derived from.
1919
*/
20-
public final static String SCHEMA_VERSION = "1.24.0";
20+
public final static String SCHEMA_VERSION = "1.25.0";
2121
}

org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/RunInTerminalRequestArguments.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class RunInTerminalRequestArguments {
4343
private String[] args;
4444

4545
/**
46-
* Environment key-value pairs that are added to the default environment.
46+
* Environment key-value pairs that are added to or removed from the default environment.
4747
* <p>
4848
* This is an optional property.
4949
*/
@@ -118,7 +118,7 @@ public void setArgs(final String[] args) {
118118
}
119119

120120
/**
121-
* Environment key-value pairs that are added to the default environment.
121+
* Environment key-value pairs that are added to or removed from the default environment.
122122
* <p>
123123
* This is an optional property.
124124
*/
@@ -128,7 +128,7 @@ public Map<String, String> getEnv() {
128128
}
129129

130130
/**
131-
* Environment key-value pairs that are added to the default environment.
131+
* Environment key-value pairs that are added to or removed from the default environment.
132132
* <p>
133133
* This is an optional property.
134134
*/

org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablePresentationHintKind.java

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,54 @@
1414
*/
1515
@SuppressWarnings("all")
1616
public interface VariablePresentationHintKind {
17+
/**
18+
* Indicates that the object is a property.
19+
*/
1720
public final static String PROPERTY = "property";
1821

22+
/**
23+
* Indicates that the object is a method.
24+
*/
1925
public final static String METHOD = "method";
2026

27+
/**
28+
* Indicates that the object is a class.
29+
*/
2130
public final static String CLASS = "class";
2231

32+
/**
33+
* Indicates that the object is data.
34+
*/
2335
public final static String DATA = "data";
2436

37+
/**
38+
* Indicates that the object is an event.
39+
*/
2540
public final static String EVENT = "event";
2641

42+
/**
43+
* Indicates that the object is a base class.
44+
*/
2745
public final static String BASE_CLASS = "baseClass";
2846

47+
/**
48+
* Indicates that the object is an inner class.
49+
*/
2950
public final static String INNER_CLASS = "innerClass";
3051

52+
/**
53+
* Indicates that the object is an interface.
54+
*/
3155
public final static String INTERFACE = "interface";
3256

57+
/**
58+
* Indicates that the object is the most derived class.
59+
*/
3360
public final static String MOST_DERIVED_CLASS = "mostDerivedClass";
61+
62+
/**
63+
* Indicates that the object is virtual, that means it is a synthetic object introduced by the adapter for
64+
* rendering purposes, e.g. an index range for large arrays.
65+
*/
66+
public final static String VIRTUAL = "virtual";
3467
}

0 commit comments

Comments
 (0)