Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vscode-languageserver-protocol

Package Overview
Dependencies
Maintainers
11
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode-languageserver-protocol - npm Package Compare versions

Comparing version 3.11.0 to 3.12.0

40

lib/protocol.d.ts

@@ -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 @@ */

4

package.json
{
"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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc