Skip to content

Commit

Permalink
Add label offset to spec
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaeumer committed Dec 13, 2018
1 parent d92645b commit 3854f1c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions specification.md
Expand Up @@ -1188,6 +1188,17 @@ export interface TextDocumentClientCapabilities {
* property. The order describes the preferred format of the client.
*/
documentationFormat?: MarkupKind[];

/**
* Client capabilities specific to parameter information.
*/
parameterInformation?: {
/**
* The client supports processing label offsets instead of a
* simple label string.
*/
labelOffsetSupport?: boolean;
}
};
};

Expand Down Expand Up @@ -3148,6 +3159,16 @@ interface SignatureInformation {
* have a label and a doc-comment.
*/
interface ParameterInformation {

/**
* The label of this parameter information.
*
* Either a string or an inclusive start and exclusive end offsets within its containing
* signature label. (see SignatureInformation.label). *Note*: A label of type string must be
* a substring of its containing signature label.
*/
label: string | [number, number];

/**
* The label of this parameter. Will be shown in
* the UI.
Expand Down Expand Up @@ -4173,6 +4194,12 @@ export interface FoldingRange {

### <a href="#changeLog" name="changeLog" class="anchor">Change Log</a>

#### <a href="#version_3_14_0" name="version_3_14_0" class="anchor">3.14.0 (12/13/2018)</a>

* Add support for signature label offsets.
* Add support for location links.
* Add support for `textDocument/definition` request.

#### <a href="#version_3_13_0" name="version_3_13_0" class="anchor">3.13.0 (9/11/2018)</a>

* Add support for file and folder operations (create, rename, move) to workspace edits.
Expand Down

0 comments on commit 3854f1c

Please sign in to comment.