Skip to content

Commit

Permalink
add "lazy" to "VariablePresentationHint"; fixes #246
Browse files Browse the repository at this point in the history
  • Loading branch information
weinand committed Feb 10, 2022
1 parent 458c124 commit 5bd54c4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ sectionid: changelog

#### All notable changes to the specification will be documented in this file.

* 1.54.X:
* Add a new boolean property `lazy` on the `VariablePresentationHint`. Clients can use that flag to present the variable with a UI that supports a specific gesture to trigger its evaluation.

* 1.53.X:
* Add a new `detail` property on the CompletionItem

Expand Down
4 changes: 4 additions & 0 deletions debugAdapterProtocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -3573,6 +3573,10 @@
"description": "Visibility of variable. Before introducing additional values, try to use the listed values.",
"type": "string",
"_enum": [ "public", "private", "protected", "internal", "final" ]
},
"lazy": {
"description": "If true clients can present the variable with a UI that supports a specific gesture to trigger its evaluation.",
"type": "boolean"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ <h1 class="text-center"><i class="fa fa-cogs" aria-hidden="true"></i></h1>
<h1 class="text-center"><i class="fas fa-book" aria-hidden="true"></i></h1>
<a href='{{ "/specification" | prepend: site.baseurl }}'><h3 class="text-center">Specification</h3></a>
<p>
The latest version of the protocol specification is version 1.51.0.
The latest version of the protocol specification is version 1.54.0.
</p>
<p>
<a href='{{ "/changelog" | prepend: site.baseurl }}'>Change History</a>
Expand Down
6 changes: 6 additions & 0 deletions specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -3947,6 +3947,12 @@ interface VariablePresentationHint {
* Values: 'public', 'private', 'protected', 'internal', 'final', etc.
*/
visibility?: 'public' | 'private' | 'protected' | 'internal' | 'final' | string;

/**
* If true clients can present the variable with a UI that supports a specific
* gesture to trigger its evaluation.
*/
lazy?: boolean;
}
```

Expand Down

0 comments on commit 5bd54c4

Please sign in to comment.