Last active
September 11, 2019 02:08
-
-
Save fhs/866f396960bfa503c64fb8a3cad8f4f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ../tsprotocol.go 2019-09-10 21:46:42.692636315 -0400 | |
+++ /tmp/tsprotocol.go 2019-09-10 22:01:13.649741464 -0400 | |
@@ -1,31 +1,11 @@ | |
// Package protocol contains data types and code for LSP jsonrpcs | |
// generated automatically from vscode-languageserver-node | |
// commit: fda16d6b63ba0fbdbd21d437ea810685528a0018 | |
-// last fetched Fri Sep 06 2019 18:16:51 GMT-0400 (Eastern Daylight Time) | |
+// last fetched Tue Sep 10 2019 22:01:03 GMT-0400 (Eastern Daylight Time) | |
package protocol | |
// Code generated (see typescript/README.md) DO NOT EDIT. | |
-/*ImplementationClientCapabilities defined: | |
- * Since 3.6.0 | |
- */ | |
-type ImplementationClientCapabilities struct { | |
- | |
- /*DynamicRegistration defined: | |
- * Whether implementation supports dynamic registration. If this is set to `true` | |
- * the client supports the new `ImplementationRegistrationOptions` return value | |
- * for the corresponding server capability as well. | |
- */ | |
- DynamicRegistration bool `json:"dynamicRegistration,omitempty"` | |
- | |
- /*LinkSupport defined: | |
- * The client supports additional metadata in the form of definition links. | |
- * | |
- * Since 3.14.0 | |
- */ | |
- LinkSupport bool `json:"linkSupport,omitempty"` | |
-} | |
- | |
// ImplementationOptions is | |
type ImplementationOptions struct { | |
WorkDoneProgressOptions | |
@@ -38,15 +18,6 @@ | |
StaticRegistrationOptions | |
} | |
-// ImplementationServerCapabilities is | |
-type ImplementationServerCapabilities struct { | |
- | |
- /*ImplementationProvider defined: | |
- * The server provides Goto Implementation support. | |
- */ | |
- ImplementationProvider bool `json:"implementationProvider,omitempty"` // boolean | ImplementationOptions | ImplementationRegistrationOptions | |
-} | |
- | |
// ImplementationParams is | |
type ImplementationParams struct { | |
TextDocumentPositionParams | |
@@ -54,26 +25,6 @@ | |
PartialResultParams | |
} | |
-/*TypeDefinitionClientCapabilities defined: | |
- * Since 3.6.0 | |
- */ | |
-type TypeDefinitionClientCapabilities struct { | |
- | |
- /*DynamicRegistration defined: | |
- * Whether implementation supports dynamic registration. If this is set to `true` | |
- * the client supports the new `TypeDefinitionRegistrationOptions` return value | |
- * for the corresponding server capability as well. | |
- */ | |
- DynamicRegistration bool `json:"dynamicRegistration,omitempty"` | |
- | |
- /*LinkSupport defined: | |
- * The client supports additional metadata in the form of definition links. | |
- * | |
- * Since 3.14.0 | |
- */ | |
- LinkSupport bool `json:"linkSupport,omitempty"` | |
-} | |
- | |
// TypeDefinitionOptions is | |
type TypeDefinitionOptions struct { | |
WorkDoneProgressOptions | |
@@ -86,15 +37,6 @@ | |
StaticRegistrationOptions | |
} | |
-// TypeDefinitionServerCapabilities is | |
-type TypeDefinitionServerCapabilities struct { | |
- | |
- /*TypeDefinitionProvider defined: | |
- * The server provides Goto Type Definition support. | |
- */ | |
- TypeDefinitionProvider bool `json:"typeDefinitionProvider,omitempty"` // boolean | TypeDefinitionOptions | TypeDefinitionRegistrationOptions | |
-} | |
- | |
// TypeDefinitionParams is | |
type TypeDefinitionParams struct { | |
TextDocumentPositionParams | |
@@ -102,60 +44,6 @@ | |
PartialResultParams | |
} | |
-// WorkspaceFoldersInitializeParams is | |
-type WorkspaceFoldersInitializeParams struct { | |
- | |
- /*WorkspaceFolders defined: | |
- * The actual configured workspace folders. | |
- */ | |
- WorkspaceFolders []WorkspaceFolder `json:"workspaceFolders"` | |
-} | |
- | |
-// WorkspaceFoldersClientCapabilities is | |
-type WorkspaceFoldersClientCapabilities struct { | |
- | |
- /*Workspace defined: | |
- * The workspace client capabilities | |
- */ | |
- Workspace *struct { | |
- | |
- /*WorkspaceFolders defined: | |
- * The client has support for workspace folders | |
- */ | |
- WorkspaceFolders bool `json:"workspaceFolders,omitempty"` | |
- } `json:"workspace,omitempty"` | |
-} | |
- | |
-// WorkspaceFoldersServerCapabilities is | |
-type WorkspaceFoldersServerCapabilities struct { | |
- | |
- /*Workspace defined: | |
- * The workspace server capabilities | |
- */ | |
- Workspace *struct { | |
- | |
- // WorkspaceFolders is | |
- WorkspaceFolders *struct { | |
- | |
- /*Supported defined: | |
- * The Server has support for workspace folders | |
- */ | |
- Supported bool `json:"supported,omitempty"` | |
- | |
- /*ChangeNotifications defined: | |
- * Whether the server wants to receive workspace folder | |
- * change notifications. | |
- * | |
- * If a strings is provided the string is treated as a ID | |
- * under which the notification is registed on the client | |
- * side. The ID can be used to unregister for these events | |
- * using the `client/unregisterCapability` request. | |
- */ | |
- ChangeNotifications string `json:"changeNotifications,omitempty"` // string | boolean | |
- } `json:"workspaceFolders,omitempty"` | |
- } `json:"workspace,omitempty"` | |
-} | |
- | |
// WorkspaceFolder is | |
type WorkspaceFolder struct { | |
@@ -198,21 +86,6 @@ | |
Removed []WorkspaceFolder `json:"removed"` | |
} | |
-// ConfigurationClientCapabilities is | |
-type ConfigurationClientCapabilities struct { | |
- | |
- /*Workspace defined: | |
- * The workspace client capabilities | |
- */ | |
- Workspace *struct { | |
- | |
- /*Configuration defined: | |
- * The client supports `workspace/configuration` requests. | |
- */ | |
- Configuration bool `json:"configuration,omitempty"` | |
- } `json:"workspace,omitempty"` | |
-} | |
- | |
// ConfigurationItem is | |
type ConfigurationItem struct { | |
@@ -236,29 +109,6 @@ | |
Items []ConfigurationItem `json:"items"` | |
} | |
-// ColorClientCapabilities is | |
-type ColorClientCapabilities struct { | |
- | |
- /*TextDocument defined: | |
- * The text document client capabilities | |
- */ | |
- TextDocument *struct { | |
- | |
- /*ColorProvider defined: | |
- * Capabilities specific to the colorProvider | |
- */ | |
- ColorProvider *struct { | |
- | |
- /*DynamicRegistration defined: | |
- * Whether implementation supports dynamic registration. If this is set to `true` | |
- * the client supports the new `(ColorRegistrationOptions & StaticRegistrationOptions)` | |
- * return value for the corresponding server capability as well. | |
- */ | |
- DynamicRegistration bool `json:"dynamicRegistration,omitempty"` | |
- } `json:"colorProvider,omitempty"` | |
- } `json:"textDocument,omitempty"` | |
-} | |
- | |
// ColorOptions is | |
type ColorOptions struct { | |
WorkDoneProgressOptions | |
@@ -270,15 +120,6 @@ | |
ColorOptions | |
} | |
-// ColorServerCapabilities is | |
-type ColorServerCapabilities struct { | |
- | |
- /*ColorProvider defined: | |
- * The server provides color provider support. | |
- */ | |
- ColorProvider bool `json:"colorProvider,omitempty"` // boolean | ColorOptions | (ColorRegistrationOptions & StaticRegistrationOptions) | |
-} | |
- | |
/*DocumentColorParams defined: | |
* Parameters for a [DocumentColorRequest](#DocumentColorRequest). | |
*/ | |
@@ -315,41 +156,6 @@ | |
PartialResultParams | |
} | |
-// FoldingRangeClientCapabilities is | |
-type FoldingRangeClientCapabilities struct { | |
- | |
- /*TextDocument defined: | |
- * The text document client capabilities | |
- */ | |
- TextDocument *struct { | |
- | |
- /*FoldingRange defined: | |
- * Capabilities specific to `textDocument/foldingRange` requests | |
- */ | |
- FoldingRange *struct { | |
- | |
- /*DynamicRegistration defined: | |
- * Whether implementation supports dynamic registration for folding range providers. If this is set to `true` | |
- * the client supports the new `(FoldingRangeProviderOptions & TextDocumentRegistrationOptions & StaticRegistrationOptions)` | |
- * return value for the corresponding server capability as well. | |
- */ | |
- DynamicRegistration bool `json:"dynamicRegistration,omitempty"` | |
- | |
- /*RangeLimit defined: | |
- * The maximum number of folding ranges that the client prefers to receive per document. The value serves as a | |
- * hint, servers are free to follow the limit. | |
- */ | |
- RangeLimit float64 `json:"rangeLimit,omitempty"` | |
- | |
- /*LineFoldingOnly defined: | |
- * If set, the client signals that it only supports folding complete lines. If set, client will | |
- * ignore specified `startCharacter` and `endCharacter` properties in a FoldingRange. | |
- */ | |
- LineFoldingOnly bool `json:"lineFoldingOnly,omitempty"` | |
- } `json:"foldingRange,omitempty"` | |
- } `json:"textDocument,omitempty"` | |
-} | |
- | |
// FoldingRangeOptions is | |
type FoldingRangeOptions struct { | |
WorkDoneProgressOptions | |
@@ -361,15 +167,6 @@ | |
FoldingRangeOptions | |
} | |
-// FoldingRangeServerCapabilities is | |
-type FoldingRangeServerCapabilities struct { | |
- | |
- /*FoldingRangeProvider defined: | |
- * The server provides folding provider support. | |
- */ | |
- FoldingRangeProvider bool `json:"foldingRangeProvider,omitempty"` // boolean | FoldingRangeOptions | (FoldingRangeRegistrationOptions & StaticRegistrationOptions) | |
-} | |
- | |
/*FoldingRange defined: | |
* Represents a folding range. | |
*/ | |
@@ -446,15 +243,6 @@ | |
StaticRegistrationOptions | |
} | |
-// DeclarationServerCapabilities is | |
-type DeclarationServerCapabilities struct { | |
- | |
- /*DeclarationProvider defined: | |
- * The server provides Goto Type Definition support. | |
- */ | |
- DeclarationProvider bool `json:"declarationProvider,omitempty"` // boolean | DeclarationOptions | DeclarationRegistrationOptions | |
-} | |
- | |
// DeclarationParams is | |
type DeclarationParams struct { | |
TextDocumentPositionParams | |
@@ -462,29 +250,6 @@ | |
PartialResultParams | |
} | |
-// SelectionRangeClientCapabilities is | |
-type SelectionRangeClientCapabilities struct { | |
- | |
- /*TextDocument defined: | |
- * The text document client capabilities | |
- */ | |
- TextDocument *struct { | |
- | |
- /*SelectionRange defined: | |
- * Capabilities specific to `textDocument/selectionRange` requests | |
- */ | |
- SelectionRange *struct { | |
- | |
- /*DynamicRegistration defined: | |
- * Whether implementation supports dynamic registration for selection range providers. If this is set to `true` | |
- * the client supports the new `(SelectionRangeProviderOptions & TextDocumentRegistrationOptions & StaticRegistrationOptions)` | |
- * return value for the corresponding server capability as well. | |
- */ | |
- DynamicRegistration bool `json:"dynamicRegistration,omitempty"` | |
- } `json:"selectionRange,omitempty"` | |
- } `json:"textDocument,omitempty"` | |
-} | |
- | |
// SelectionRangeOptions is | |
type SelectionRangeOptions struct { | |
WorkDoneProgressOptions | |
@@ -496,15 +261,6 @@ | |
TextDocumentRegistrationOptions | |
} | |
-// SelectionRangeServerCapabilities is | |
-type SelectionRangeServerCapabilities struct { | |
- | |
- /*SelectionRangeProvider defined: | |
- * The server provides selection range support. | |
- */ | |
- SelectionRangeProvider bool `json:"selectionRangeProvider,omitempty"` // boolean | SelectionRangeOptions | (SelectionRangeRegistrationOptions & StaticRegistrationOptions) | |
-} | |
- | |
/*SelectionRangeParams defined: | |
* A parameter literal used in selection range requests. | |
*/ | |
@@ -799,32 +555,6 @@ | |
PublishDiagnostics *PublishDiagnosticsClientCapabilities `json:"publishDiagnostics,omitempty"` | |
} | |
-/*InnerClientCapabilities defined: | |
- * Defines the capabilities provided by the client. | |
- */ | |
-type InnerClientCapabilities struct { | |
- | |
- /*Workspace defined: | |
- * Workspace specific client capabilities. | |
- */ | |
- Workspace *WorkspaceClientCapabilities `json:"workspace,omitempty"` | |
- | |
- /*TextDocument defined: | |
- * Text document specific client capabilities. | |
- */ | |
- TextDocument *TextDocumentClientCapabilities `json:"textDocument,omitempty"` | |
- | |
- /*Window defined: | |
- * Window specific client capabilities. | |
- */ | |
- Window interface{} `json:"window,omitempty"` | |
- | |
- /*Experimental defined: | |
- * Experimental client capabilities. | |
- */ | |
- Experimental interface{} `json:"experimental,omitempty"` | |
-} | |
- | |
// ClientCapabilities is | |
type ClientCapabilities struct { | |
@@ -1091,14 +821,44 @@ | |
* the client supports the new `ImplementationRegistrationOptions` return value | |
* for the corresponding server capability as well. | |
*/ | |
- DynamicRegistration bool `json:"dynamicRegistration,omitempty"` | |
+ DynamicRegistration struct { | |
+ | |
+ /*DynamicRegistration defined: | |
+ * Whether implementation supports dynamic registration. If this is set to `true` | |
+ * the client supports the new `ImplementationRegistrationOptions` return value | |
+ * for the corresponding server capability as well. | |
+ */ | |
+ DynamicRegistration bool `json:"dynamicRegistration,omitempty"` | |
+ | |
+ /*DynamicRegistration defined: | |
+ * Whether implementation supports dynamic registration. If this is set to `true` | |
+ * the client supports the new `TypeDefinitionRegistrationOptions` return value | |
+ * for the corresponding server capability as well. | |
+ */ | |
+ DynamicRegistration bool `json:"dynamicRegistration,omitempty"` | |
+ } `json:"dynamicRegistration,omitempty"` | |
/*LinkSupport defined: | |
* The client supports additional metadata in the form of definition links. | |
* | |
* Since 3.14.0 | |
*/ | |
- LinkSupport bool `json:"linkSupport,omitempty"` | |
+ LinkSupport struct { | |
+ | |
+ /*LinkSupport defined: | |
+ * The client supports additional metadata in the form of definition links. | |
+ * | |
+ * Since 3.14.0 | |
+ */ | |
+ LinkSupport bool `json:"linkSupport,omitempty"` | |
+ | |
+ /*LinkSupport defined: | |
+ * The client supports additional metadata in the form of definition links. | |
+ * | |
+ * Since 3.14.0 | |
+ */ | |
+ LinkSupport bool `json:"linkSupport,omitempty"` | |
+ } `json:"linkSupport,omitempty"` | |
} | |
/*StaticRegistrationOptions defined: | |
@@ -1210,108 +970,6 @@ | |
WorkDoneProgress bool `json:"workDoneProgress,omitempty"` | |
} | |
-/*InnerServerCapabilities defined: | |
- * Defines the capabilities provided by a language | |
- * server. | |
- */ | |
-type InnerServerCapabilities struct { | |
- | |
- /*TextDocumentSync defined: | |
- * Defines how text documents are synced. Is either a detailed structure defining each notification or | |
- * for backwards compatibility the TextDocumentSyncKind number. | |
- */ | |
- TextDocumentSync interface{} `json:"textDocumentSync,omitempty"` // TextDocumentSyncOptions | TextDocumentSyncKind | |
- | |
- /*HoverProvider defined: | |
- * The server provides hover support. | |
- */ | |
- HoverProvider bool `json:"hoverProvider,omitempty"` // boolean | HoverOptions | |
- | |
- /*CompletionProvider defined: | |
- * The server provides completion support. | |
- */ | |
- CompletionProvider *CompletionOptions `json:"completionProvider,omitempty"` | |
- | |
- /*SignatureHelpProvider defined: | |
- * The server provides signature help support. | |
- */ | |
- SignatureHelpProvider *SignatureHelpOptions `json:"signatureHelpProvider,omitempty"` | |
- | |
- /*DefinitionProvider defined: | |
- * The server provides goto definition support. | |
- */ | |
- DefinitionProvider bool `json:"definitionProvider,omitempty"` // boolean | DefinitionOptions | |
- | |
- /*ReferencesProvider defined: | |
- * The server provides find references support. | |
- */ | |
- ReferencesProvider bool `json:"referencesProvider,omitempty"` // boolean | ReferenceOptions | |
- | |
- /*DocumentHighlightProvider defined: | |
- * The server provides document highlight support. | |
- */ | |
- DocumentHighlightProvider bool `json:"documentHighlightProvider,omitempty"` // boolean | DocumentHighlightOptions | |
- | |
- /*DocumentSymbolProvider defined: | |
- * The server provides document symbol support. | |
- */ | |
- DocumentSymbolProvider bool `json:"documentSymbolProvider,omitempty"` // boolean | DocumentSymbolOptions | |
- | |
- /*CodeActionProvider defined: | |
- * The server provides code actions. CodeActionOptions may only be | |
- * specified if the client states that it supports | |
- * `codeActionLiteralSupport` in its initial `initialize` request. | |
- */ | |
- CodeActionProvider interface{} `json:"codeActionProvider,omitempty"` // boolean | CodeActionOptions | |
- | |
- /*WorkspaceSymbolProvider defined: | |
- * The server provides workspace symbol support. | |
- */ | |
- WorkspaceSymbolProvider bool `json:"workspaceSymbolProvider,omitempty"` // boolean | WorkspaceSymbolOptions | |
- | |
- /*CodeLensProvider defined: | |
- * The server provides code lens. | |
- */ | |
- CodeLensProvider *CodeLensOptions `json:"codeLensProvider,omitempty"` | |
- | |
- /*DocumentFormattingProvider defined: | |
- * The server provides document formatting. | |
- */ | |
- DocumentFormattingProvider bool `json:"documentFormattingProvider,omitempty"` // boolean | DocumentFormattingOptions | |
- | |
- /*DocumentRangeFormattingProvider defined: | |
- * The server provides document range formatting. | |
- */ | |
- DocumentRangeFormattingProvider bool `json:"documentRangeFormattingProvider,omitempty"` // boolean | DocumentRangeFormattingOptions | |
- | |
- /*DocumentOnTypeFormattingProvider defined: | |
- * The server provides document formatting on typing. | |
- */ | |
- DocumentOnTypeFormattingProvider *DocumentOnTypeFormattingOptions `json:"documentOnTypeFormattingProvider,omitempty"` | |
- | |
- /*RenameProvider defined: | |
- * The server provides rename support. RenameOptions may only be | |
- * specified if the client states that it supports | |
- * `prepareSupport` in its initial `initialize` request. | |
- */ | |
- RenameProvider interface{} `json:"renameProvider,omitempty"` // boolean | RenameOptions | |
- | |
- /*DocumentLinkProvider defined: | |
- * The server provides document link support. | |
- */ | |
- DocumentLinkProvider *DocumentLinkOptions `json:"documentLinkProvider,omitempty"` | |
- | |
- /*ExecuteCommandProvider defined: | |
- * The server provides execute command support. | |
- */ | |
- ExecuteCommandProvider *ExecuteCommandOptions `json:"executeCommandProvider,omitempty"` | |
- | |
- /*Experimental defined: | |
- * Experimental server capabilities. | |
- */ | |
- Experimental interface{} `json:"experimental,omitempty"` | |
-} | |
- | |
// ServerCapabilities is | |
type ServerCapabilities struct { | |
@@ -1361,7 +1019,7 @@ | |
* specified if the client states that it supports | |
* `codeActionLiteralSupport` in its initial `initialize` request. | |
*/ | |
- CodeActionProvider interface{} `json:"codeActionProvider,omitempty"` // boolean | CodeActionOptions | |
+ CodeActionProvider bool `json:"codeActionProvider,omitempty"` // boolean | CodeActionOptions | |
/*WorkspaceSymbolProvider defined: | |
* The server provides workspace symbol support. | |
@@ -1467,51 +1125,6 @@ | |
SelectionRangeProvider bool `json:"selectionRangeProvider,omitempty"` // boolean | SelectionRangeOptions | (SelectionRangeRegistrationOptions & StaticRegistrationOptions) | |
} | |
-/*InnerInitializeParams defined: | |
- * The initialize parameters | |
- */ | |
-type InnerInitializeParams struct { | |
- | |
- /*ProcessID defined: | |
- * The process Id of the parent process that started | |
- * the server. | |
- */ | |
- ProcessID float64 `json:"processId"` | |
- | |
- /*RootPath defined: | |
- * The rootPath of the workspace. Is null | |
- * if no folder is open. | |
- * | |
- * @deprecated in favour of rootUri. | |
- */ | |
- RootPath string `json:"rootPath,omitempty"` | |
- | |
- /*RootURI defined: | |
- * The rootUri of the workspace. Is null if no | |
- * folder is open. If both `rootPath` and `rootUri` are set | |
- * `rootUri` wins. | |
- * | |
- * @deprecated in favour of workspaceFolders. | |
- */ | |
- RootURI DocumentURI `json:"rootUri"` | |
- | |
- /*Capabilities defined: | |
- * The capabilities provided by the client (editor or tool) | |
- */ | |
- Capabilities ClientCapabilities `json:"capabilities"` | |
- | |
- /*InitializationOptions defined: | |
- * User provided initialization options. | |
- */ | |
- InitializationOptions interface{} `json:"initializationOptions,omitempty"` | |
- | |
- /*Trace defined: | |
- * The initial trace setting. If omitted trace is disabled ('off'). | |
- */ | |
- Trace string `json:"trace,omitempty"` // 'off' | 'messages' | 'verbose' | |
- WorkDoneProgressParams | |
-} | |
- | |
// InitializeParams is | |
type InitializeParams struct { | |
@@ -1536,7 +1149,7 @@ | |
* | |
* @deprecated in favour of workspaceFolders. | |
*/ | |
- RootURI DocumentURI `json:"rootUri"` | |
+ RootURI DocumentUri `json:"rootUri"` | |
/*Capabilities defined: | |
* The capabilities provided by the client (editor or tool) | |
@@ -1851,7 +1464,7 @@ | |
/*URI defined: | |
* The file's uri. | |
*/ | |
- URI DocumentURI `json:"uri"` | |
+ URI DocumentUri `json:"uri"` | |
/*Type defined: | |
* The change type. | |
@@ -1918,7 +1531,7 @@ | |
/*URI defined: | |
* The URI for which diagnostic information is reported. | |
*/ | |
- URI DocumentURI `json:"uri"` | |
+ URI DocumentUri `json:"uri"` | |
/*Version defined: | |
* Optional the version number of the document the diagnostics are published for. | |
@@ -2845,7 +2458,7 @@ | |
type Location struct { | |
// URI is | |
- URI DocumentURI `json:"uri"` | |
+ URI DocumentUri `json:"uri"` | |
// Range is | |
Range Range `json:"range"` | |
@@ -2868,7 +2481,7 @@ | |
/*TargetURI defined: | |
* The target resource identifier of this link. | |
*/ | |
- TargetURI DocumentURI `json:"targetUri"` | |
+ TargetURI DocumentUri `json:"targetUri"` | |
/*TargetRange defined: | |
* The full target range of this link. If the target for example is a symbol then target range is the | |
@@ -3109,7 +2722,7 @@ | |
/*URI defined: | |
* The resource to create. | |
*/ | |
- URI DocumentURI `json:"uri"` | |
+ URI DocumentUri `json:"uri"` | |
/*Options defined: | |
* Additional options | |
@@ -3146,12 +2759,12 @@ | |
/*OldURI defined: | |
* The old (existing) location. | |
*/ | |
- OldURI DocumentURI `json:"oldUri"` | |
+ OldURI DocumentUri `json:"oldUri"` | |
/*NewURI defined: | |
* The new location. | |
*/ | |
- NewURI DocumentURI `json:"newUri"` | |
+ NewURI DocumentUri `json:"newUri"` | |
/*Options defined: | |
* Rename options. | |
@@ -3188,7 +2801,7 @@ | |
/*URI defined: | |
* The file to delete. | |
*/ | |
- URI DocumentURI `json:"uri"` | |
+ URI DocumentUri `json:"uri"` | |
/*Options defined: | |
* Delete options. | |
@@ -3237,7 +2850,7 @@ | |
/*URI defined: | |
* The text document's uri. | |
*/ | |
- URI DocumentURI `json:"uri"` | |
+ URI DocumentUri `json:"uri"` | |
} | |
/*VersionedTextDocumentIdentifier defined: | |
@@ -3265,7 +2878,7 @@ | |
/*URI defined: | |
* The text document's uri. | |
*/ | |
- URI DocumentURI `json:"uri"` | |
+ URI DocumentUri `json:"uri"` | |
/*LanguageID defined: | |
* The text document's language identifier | |
@@ -3848,7 +3461,7 @@ | |
* | |
* @readonly | |
*/ | |
- URI DocumentURI `json:"uri"` | |
+ URI DocumentUri `json:"uri"` | |
/*LanguageID defined: | |
* The identifier of the language associated with this document. | |
@@ -4542,7 +4155,7 @@ | |
* @sample A language filter that applies to typescript files on disk: `{ language: 'typescript', scheme: 'file' }` | |
* @sample A language filter that applies to all package.json paths: `{ language: 'json', pattern: '**package.json' }` | |
*/ | |
-type DocumentFilter = struct { | |
+type DocumentFilter struct { | |
/*Language defined: A language id, like `typescript`. */ | |
Language string `json:"language,omitempty"` | |
@@ -4560,30 +4173,13 @@ | |
* | |
* @sample `let sel:DocumentSelector = [{ language: 'typescript' }, { language: 'json', pattern: '**∕tsconfig.json' }]`; | |
*/ | |
-type DocumentSelector = []DocumentFilter | |
+type DocumentSelector []DocumentFilter | |
// DocumentURI is a type | |
/** | |
* A tagging type for string properties that are actually URIs. | |
*/ | |
-type DocumentURI = string | |
- | |
-// MarkedString is a type | |
-/** | |
- * MarkedString can be used to render human readable text. It is either a markdown string | |
- * or a code-block that provides a language and a code snippet. The language identifier | |
- * is semantically equal to the optional language identifier in fenced code blocks in GitHub | |
- * issues. See https://help.github.com/articles/creating-and-highlighting-code-blocks/#syntax-highlighting | |
- * | |
- * The pair of a language and a value is an equivalent to markdown: | |
- * ```${language} | |
- * ${value} | |
- * ``` | |
- * | |
- * Note that markdown strings will be sanitized - that means html will be escaped. | |
- * @deprecated use MarkupContent instead. | |
- */ | |
-type MarkedString = string | |
+type DocumentURI string | |
// DefinitionLink is a type | |
/** | |
@@ -4592,7 +4188,7 @@ | |
* Provides additional metadata over normal [location](#Location) definitions, including the range of | |
* the defining symbol | |
*/ | |
-type DefinitionLink = LocationLink | |
+type DefinitionLink LocationLink | |
// DeclarationLink is a type | |
/** | |
@@ -4604,15 +4200,13 @@ | |
* Servers should prefer returning `DeclarationLink` over `Declaration` if supported | |
* by the client. | |
*/ | |
-type DeclarationLink = LocationLink | |
+type DeclarationLink LocationLink | |
// LSPMessageType is a type | |
/** | |
* A LSP Log Entry. | |
*/ | |
-type LSPMessageType = string | |
+type LSPMessageType string | |
-// ProgressToken is a type | |
-type ProgressToken = interface{} // number | string | |
// TraceValues is a type | |
-type TraceValues = string | |
+type TraceValues string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment