vscode-languageserver-protocol
Advanced tools
Comparing version 3.17.0-next.4 to 3.17.0-next.5
@@ -64,2 +64,3 @@ import type { integer } from 'vscode-languageserver-types'; | ||
const DiagnosticRequest: typeof diag.DiagnosticRequest; | ||
const DiagnosticRefreshRequest: typeof diag.DiagnosticRefreshRequest; | ||
} |
@@ -72,3 +72,4 @@ "use strict"; | ||
Proposed.DiagnosticRequest = diag.DiagnosticRequest; | ||
Proposed.DiagnosticRefreshRequest = diag.DiagnosticRefreshRequest; | ||
})(Proposed = exports.Proposed || (exports.Proposed = {})); | ||
//# sourceMappingURL=api.js.map |
@@ -1,7 +0,7 @@ | ||
import { RequestHandler } from 'vscode-jsonrpc'; | ||
import { RequestHandler0, RequestHandler } from 'vscode-jsonrpc'; | ||
import { TextDocumentIdentifier, Diagnostic } from 'vscode-languageserver-types'; | ||
import { ProtocolRequestType } from './messages'; | ||
import { ProtocolRequestType0, ProtocolRequestType } from './messages'; | ||
import { PartialResultParams, StaticRegistrationOptions, WorkDoneProgressParams, TextDocumentRegistrationOptions, WorkDoneProgressOptions, TextDocumentClientCapabilities } from './protocol'; | ||
/** | ||
* @since 3.17.0 | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
@@ -21,2 +21,5 @@ export interface DiagnosticClientCapabilities { | ||
} | ||
/** | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
export declare namespace DiagnosticPullModeFlags { | ||
@@ -45,2 +48,5 @@ /** | ||
export declare type DiagnosticPullModeFlags = number; | ||
/** | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
export declare namespace DiagnosticTriggerKind { | ||
@@ -66,5 +72,11 @@ /** | ||
export declare type DiagnosticTriggerKind = 1 | 2 | 3 | 4; | ||
/** | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
export interface DiagnosticContext { | ||
triggerKind: DiagnosticTriggerKind; | ||
} | ||
/** | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
export interface DiagnosticParams extends WorkDoneProgressParams, PartialResultParams { | ||
@@ -80,2 +92,5 @@ /** | ||
} | ||
/** | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
export interface DiagnosticOptions extends WorkDoneProgressOptions { | ||
@@ -93,2 +108,5 @@ /** | ||
} | ||
/** | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
export interface DiagnosticRegistrationOptions extends TextDocumentRegistrationOptions, DiagnosticOptions, StaticRegistrationOptions { | ||
@@ -99,5 +117,11 @@ } | ||
} | ||
/** | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
export interface DiagnosticServerCancellationData { | ||
retriggerRequest: boolean; | ||
} | ||
/** | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
export declare namespace DiagnosticServerCancellationData { | ||
@@ -108,2 +132,4 @@ function is(value: any): value is DiagnosticServerCancellationData; | ||
* The result of a diagnostic pull request. | ||
* | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
@@ -113,2 +139,5 @@ export interface DiagnosticList { | ||
} | ||
/** | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
export declare namespace DiagnosticRequest { | ||
@@ -119,1 +148,9 @@ const method: 'textDocument/diagnostic'; | ||
} | ||
/** | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
export declare namespace DiagnosticRefreshRequest { | ||
const method: `workspace/diagnostic/refresh`; | ||
const type: ProtocolRequestType0<void, void, void, void>; | ||
type HandlerSignature = RequestHandler0<void, void>; | ||
} |
@@ -7,5 +7,8 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DiagnosticRequest = exports.DiagnosticServerCancellationData = exports.DiagnosticTriggerKind = exports.DiagnosticPullModeFlags = void 0; | ||
exports.DiagnosticRefreshRequest = exports.DiagnosticRequest = exports.DiagnosticServerCancellationData = exports.DiagnosticTriggerKind = exports.DiagnosticPullModeFlags = void 0; | ||
const Is = require("./utils/is"); | ||
const messages_1 = require("./messages"); | ||
/** | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
var DiagnosticPullModeFlags; | ||
@@ -28,3 +31,3 @@ (function (DiagnosticPullModeFlags) { | ||
*/ | ||
DiagnosticPullModeFlags.all = DiagnosticPullModeFlags.onOpen & DiagnosticPullModeFlags.onType & DiagnosticPullModeFlags.onSave; | ||
DiagnosticPullModeFlags.all = DiagnosticPullModeFlags.onOpen | DiagnosticPullModeFlags.onType | DiagnosticPullModeFlags.onSave; | ||
function is(value) { | ||
@@ -47,2 +50,5 @@ return DiagnosticPullModeFlags.onType <= value && value <= DiagnosticPullModeFlags.all; | ||
})(DiagnosticPullModeFlags = exports.DiagnosticPullModeFlags || (exports.DiagnosticPullModeFlags = {})); | ||
/** | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
var DiagnosticTriggerKind; | ||
@@ -71,2 +77,5 @@ (function (DiagnosticTriggerKind) { | ||
})(DiagnosticTriggerKind = exports.DiagnosticTriggerKind || (exports.DiagnosticTriggerKind = {})); | ||
/** | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
var DiagnosticServerCancellationData; | ||
@@ -80,2 +89,5 @@ (function (DiagnosticServerCancellationData) { | ||
})(DiagnosticServerCancellationData = exports.DiagnosticServerCancellationData || (exports.DiagnosticServerCancellationData = {})); | ||
/** | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
var DiagnosticRequest; | ||
@@ -86,2 +98,10 @@ (function (DiagnosticRequest) { | ||
})(DiagnosticRequest = exports.DiagnosticRequest || (exports.DiagnosticRequest = {})); | ||
/** | ||
* @since 3.17.0 - proposed state | ||
*/ | ||
var DiagnosticRefreshRequest; | ||
(function (DiagnosticRefreshRequest) { | ||
DiagnosticRefreshRequest.method = `workspace/diagnostic/refresh`; | ||
DiagnosticRefreshRequest.type = new messages_1.ProtocolRequestType0(DiagnosticRefreshRequest.method); | ||
})(DiagnosticRefreshRequest = exports.DiagnosticRefreshRequest || (exports.DiagnosticRefreshRequest = {})); | ||
//# sourceMappingURL=proposed.diagnostic.js.map |
@@ -86,3 +86,3 @@ import { NotificationHandler, RequestHandler } from 'vscode-jsonrpc'; | ||
* - `**` to match any number of path segments, including none | ||
* - `{}` to group conditions (e.g. `**/*.{ts,js}` matches all TypeScript and JavaScript files) | ||
* - `{}` to group sub patterns into an OR expression. (e.g. `**/*.{ts,js}` matches all TypeScript and JavaScript files) | ||
* - `[]` to declare a range of characters to match in a path segment (e.g., `example.[0-9]` to match on `example.0`, `example.1`, …) | ||
@@ -89,0 +89,0 @@ * - `[!...]` to negate a range of characters to match in a path segment (e.g., `example.[!0-9]` to match on `example.a`, `example.b`, but not `example.0`) |
@@ -172,2 +172,5 @@ import { TextDocumentIdentifier, Range, uinteger, SemanticTokensEdit, SemanticTokensLegend, SemanticTokens, SemanticTokensDelta } from 'vscode-languageserver-types'; | ||
} | ||
/** | ||
* @since 3.16.0 | ||
*/ | ||
export interface SemanticTokensWorkspaceClientCapabilities { | ||
@@ -174,0 +177,0 @@ /** |
{ | ||
"name": "vscode-languageserver-protocol", | ||
"description": "VSCode Language Server Protocol implementation", | ||
"version": "3.17.0-next.4", | ||
"version": "3.17.0-next.5", | ||
"author": "Microsoft Corporation", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
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
252902
6132