vscode-languageserver-protocol
Advanced tools
Comparing version 3.11.0 to 3.12.0
@@ -443,2 +443,7 @@ import { RequestType, RequestType0, NotificationType, NotificationType0 } from 'vscode-jsonrpc'; | ||
dynamicRegistration?: boolean; | ||
/** | ||
* Client supports testing for validity of rename operations | ||
* before execution. | ||
*/ | ||
prepareSupport?: boolean; | ||
}; | ||
@@ -582,2 +587,11 @@ /** | ||
/** | ||
* Rename options | ||
*/ | ||
export interface RenameOptions { | ||
/** | ||
* Renames should be checked and tested before being executed. | ||
*/ | ||
prepareProvider?: boolean; | ||
} | ||
/** | ||
* Document link options | ||
@@ -675,3 +689,5 @@ */ | ||
/** | ||
* The server provides code actions. | ||
* The server provides code actions. CodeActionOptions may only be | ||
* specified if the client states that it supports | ||
* `codeActionLiteralSupport` in its initial `initialize` request. | ||
*/ | ||
@@ -705,5 +721,7 @@ codeActionProvider?: boolean | CodeActionOptions; | ||
/** | ||
* The server provides rename support. | ||
* The server provides rename support. RenameOptions may only be | ||
* specified if the client states that it supports | ||
* `prepareSupport` in its initial `initialize` request. | ||
*/ | ||
renameProvider?: boolean; | ||
renameProvider?: boolean | RenameOptions; | ||
/** | ||
@@ -1459,4 +1477,18 @@ * The server provides document link support. | ||
export declare namespace RenameRequest { | ||
const type: RequestType<RenameParams, WorkspaceEdit | null, void, TextDocumentRegistrationOptions>; | ||
const type: RequestType<RenameParams, WorkspaceEdit | null, void, RenameRegistrationOptions>; | ||
} | ||
/** | ||
* A request to test and perform the setup necessary for a rename. | ||
*/ | ||
export declare namespace PrepareRenameRequest { | ||
const type: RequestType<TextDocumentPositionParams, Range | { | ||
range: Range; | ||
placeholder: string; | ||
} | null, void, void>; | ||
} | ||
/** | ||
* Rename registration options. | ||
*/ | ||
export interface RenameRegistrationOptions extends TextDocumentRegistrationOptions, RenameOptions { | ||
} | ||
export interface DocumentLinkParams { | ||
@@ -1463,0 +1495,0 @@ /** |
@@ -463,2 +463,9 @@ /* -------------------------------------------------------------------------------------------- | ||
/** | ||
* A request to test and perform the setup necessary for a rename. | ||
*/ | ||
var PrepareRenameRequest; | ||
(function (PrepareRenameRequest) { | ||
PrepareRenameRequest.type = new vscode_jsonrpc_1.RequestType('textDocument/prepareRename'); | ||
})(PrepareRenameRequest = exports.PrepareRenameRequest || (exports.PrepareRenameRequest = {})); | ||
/** | ||
* A request to provide document links | ||
@@ -465,0 +472,0 @@ */ |
{ | ||
"name": "vscode-languageserver-protocol", | ||
"description": "VSCode Language Server Protocol implementation", | ||
"version": "3.11.0", | ||
"version": "3.12.0", | ||
"author": "Microsoft Corporation", | ||
@@ -18,3 +18,3 @@ "license": "MIT", | ||
"vscode-jsonrpc": "^3.6.2", | ||
"vscode-languageserver-types": "^3.11.0" | ||
"vscode-languageserver-types": "^3.12.0" | ||
}, | ||
@@ -21,0 +21,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
114957
2820