Skip to content

Commit 32f3e3f

Browse files
committed
add 'variables' value to 'evaluate' parameter
1 parent c6af474 commit 32f3e3f

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

debugProtocol.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2417,18 +2417,19 @@
24172417
},
24182418
"context": {
24192419
"type": "string",
2420-
"_enum": [ "watch", "repl", "hover", "clipboard" ],
2420+
"_enum": [ "variables", "watch", "repl", "hover", "clipboard" ],
24212421
"enumDescriptions": [
2422-
"evaluate is run in a watch.",
2423-
"evaluate is run from REPL console.",
2424-
"evaluate is run from a data hover.",
2425-
"evaluate is run to generate the value that will be stored in the clipboard.\nThe attribute is only honored by a debug adapter if the capability 'supportsClipboardContext' is true."
2422+
"evaluate is called from a variables view context.",
2423+
"evaluate is called from a watch view context.",
2424+
"evaluate is called from a REPL context.",
2425+
"evaluate is called to generate the debug hover contents.\nThis value should only be used if the capability 'supportsEvaluateForHovers' is true.",
2426+
"evaluate is called to generate clipboard contents.\nThis value should only be used if the capability 'supportsClipboardContext' is true."
24262427
],
2427-
"description": "The context in which the evaluate request is run."
2428+
"description": "The context in which the evaluate request is used."
24282429
},
24292430
"format": {
24302431
"$ref": "#/definitions/ValueFormat",
2431-
"description": "Specifies details on how to format the Evaluate result.\nThe attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true."
2432+
"description": "Specifies details on how to format the result.\nThe attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true."
24322433
}
24332434
},
24342435
"required": [ "expression" ]

0 commit comments

Comments
 (0)