vscode-languageserver-protocol
Advanced tools
Comparing version 3.17.0-next.11 to 3.17.0-next.12
@@ -59,2 +59,3 @@ import type { integer } from 'vscode-languageserver-types'; | ||
import * as iv from './proposed.inlineValue'; | ||
import * as nb from './proposed.notebooks'; | ||
export declare namespace Proposed { | ||
@@ -102,2 +103,24 @@ type DiagnosticClientCapabilities = diag.DiagnosticClientCapabilities; | ||
const InlineValuesRefreshRequest: typeof iv.InlineValuesRefreshRequest; | ||
type $NotebookDocumentClientCapabilities = nb.$NotebookDocumentClientCapabilities; | ||
type NotebookDocumentSyncClientCapabilities = nb.NotebookDocumentSyncClientCapabilities; | ||
type $NotebookDocumentServerCapabilities = nb.$NotebookDocumentServerCapabilities; | ||
type NotebookCellKind = nb.NotebookCellKind; | ||
const NotebookCellKind: typeof nb.NotebookCellKind; | ||
type NotebookCell = nb.NotebookCell; | ||
const NotebookCell: typeof nb.NotebookCell; | ||
type NotebookCellChange = nb.NotebookCellChange; | ||
type NotebookDocument = nb.NotebookDocument; | ||
const NotebookDocument: typeof nb.NotebookDocument; | ||
type NotebookDocumentChangeEvent = nb.NotebookDocumentChangeEvent; | ||
type NotebookDocumentIdentifier = nb.NotebookDocumentIdentifier; | ||
type VersionedNotebookDocumentIdentifier = nb.VersionedNotebookDocumentIdentifier; | ||
type NotebookDocumentOptions = nb.NotebookDocumentOptions; | ||
type NotebookDocumentRegistrationOptions = nb.NotebookDocumentRegistrationOptions; | ||
const NotebookDocumentSyncRegistrationType: typeof nb.NotebookDocumentSyncRegistrationType; | ||
type DidOpenNotebookDocumentParams = nb.DidOpenNotebookDocumentParams; | ||
const DidOpenNotebookDocumentNotification: typeof nb.DidOpenNotebookDocumentNotification; | ||
type DidChangeNotebookDocumentParams = nb.DidChangeNotebookDocumentParams; | ||
const DidChangeNotebookDocumentNotification: typeof nb.DidChangeNotebookDocumentNotification; | ||
type DidCloseNotebookDocumentParams = nb.DidCloseNotebookDocumentParams; | ||
const DidCloseNotebookDocumentNotification: typeof nb.DidCloseNotebookDocumentNotification; | ||
} |
@@ -77,2 +77,3 @@ "use strict"; | ||
const iv = require("./proposed.inlineValue"); | ||
const nb = require("./proposed.notebooks"); | ||
var Proposed; | ||
@@ -90,3 +91,10 @@ (function (Proposed) { | ||
Proposed.InlineValuesRefreshRequest = iv.InlineValuesRefreshRequest; | ||
Proposed.NotebookCellKind = nb.NotebookCellKind; | ||
Proposed.NotebookCell = nb.NotebookCell; | ||
Proposed.NotebookDocument = nb.NotebookDocument; | ||
Proposed.NotebookDocumentSyncRegistrationType = nb.NotebookDocumentSyncRegistrationType; | ||
Proposed.DidOpenNotebookDocumentNotification = nb.DidOpenNotebookDocumentNotification; | ||
Proposed.DidChangeNotebookDocumentNotification = nb.DidChangeNotebookDocumentNotification; | ||
Proposed.DidCloseNotebookDocumentNotification = nb.DidCloseNotebookDocumentNotification; | ||
})(Proposed = exports.Proposed || (exports.Proposed = {})); | ||
//# sourceMappingURL=api.js.map |
@@ -7,4 +7,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CodeLensRefreshRequest = exports.CodeLensResolveRequest = exports.CodeLensRequest = exports.WorkspaceSymbolResolveRequest = exports.WorkspaceSymbolRequest = exports.CodeActionResolveRequest = exports.CodeActionRequest = exports.DocumentSymbolRequest = exports.DocumentHighlightRequest = exports.ReferencesRequest = exports.DefinitionRequest = exports.SignatureHelpRequest = exports.SignatureHelpTriggerKind = exports.HoverRequest = exports.CompletionResolveRequest = exports.CompletionRequest = exports.CompletionTriggerKind = exports.PublishDiagnosticsNotification = exports.WatchKind = exports.FileChangeType = exports.DidChangeWatchedFilesNotification = exports.WillSaveTextDocumentWaitUntilRequest = exports.WillSaveTextDocumentNotification = exports.TextDocumentSaveReason = exports.DidSaveTextDocumentNotification = exports.DidCloseTextDocumentNotification = exports.DidChangeTextDocumentNotification = exports.TextDocumentContentChangeEvent = exports.DidOpenTextDocumentNotification = exports.TextDocumentSyncKind = exports.TelemetryEventNotification = exports.LogMessageNotification = exports.ShowMessageRequest = exports.ShowMessageNotification = exports.MessageType = exports.DidChangeConfigurationNotification = exports.ExitNotification = exports.ShutdownRequest = exports.InitializedNotification = exports.InitializeError = exports.InitializeRequest = exports.WorkDoneProgressOptions = exports.TextDocumentRegistrationOptions = exports.StaticRegistrationOptions = exports.FailureHandlingKind = exports.ResourceOperationKind = exports.UnregistrationRequest = exports.RegistrationRequest = exports.DocumentSelector = exports.DocumentFilter = void 0; | ||
exports.MonikerRequest = exports.MonikerKind = exports.UniquenessLevel = exports.WillDeleteFilesRequest = exports.DidDeleteFilesNotification = exports.WillRenameFilesRequest = exports.DidRenameFilesNotification = exports.WillCreateFilesRequest = exports.DidCreateFilesNotification = exports.FileOperationPatternKind = exports.LinkedEditingRangeRequest = exports.ShowDocumentRequest = exports.SemanticTokensRegistrationType = exports.SemanticTokensRefreshRequest = exports.SemanticTokensRangeRequest = exports.SemanticTokensDeltaRequest = exports.SemanticTokensRequest = exports.TokenFormat = exports.CallHierarchyPrepareRequest = exports.CallHierarchyOutgoingCallsRequest = exports.CallHierarchyIncomingCallsRequest = exports.WorkDoneProgressCancelNotification = exports.WorkDoneProgressCreateRequest = exports.WorkDoneProgress = exports.SelectionRangeRequest = exports.DeclarationRequest = exports.FoldingRangeRequest = exports.ColorPresentationRequest = exports.DocumentColorRequest = exports.ConfigurationRequest = exports.DidChangeWorkspaceFoldersNotification = exports.WorkspaceFoldersRequest = exports.TypeDefinitionRequest = exports.ImplementationRequest = exports.ApplyWorkspaceEditRequest = exports.ExecuteCommandRequest = exports.PrepareRenameRequest = exports.RenameRequest = exports.PrepareSupportDefaultBehavior = exports.DocumentOnTypeFormattingRequest = exports.DocumentRangeFormattingRequest = exports.DocumentFormattingRequest = exports.DocumentLinkResolveRequest = exports.DocumentLinkRequest = void 0; | ||
exports.CodeLensRequest = exports.WorkspaceSymbolResolveRequest = exports.WorkspaceSymbolRequest = exports.CodeActionResolveRequest = exports.CodeActionRequest = exports.DocumentSymbolRequest = exports.DocumentHighlightRequest = exports.ReferencesRequest = exports.DefinitionRequest = exports.SignatureHelpRequest = exports.SignatureHelpTriggerKind = exports.HoverRequest = exports.CompletionResolveRequest = exports.CompletionRequest = exports.CompletionTriggerKind = exports.PublishDiagnosticsNotification = exports.WatchKind = exports.FileChangeType = exports.DidChangeWatchedFilesNotification = exports.WillSaveTextDocumentWaitUntilRequest = exports.WillSaveTextDocumentNotification = exports.TextDocumentSaveReason = exports.DidSaveTextDocumentNotification = exports.DidCloseTextDocumentNotification = exports.DidChangeTextDocumentNotification = exports.TextDocumentContentChangeEvent = exports.DidOpenTextDocumentNotification = exports.TextDocumentSyncKind = exports.TelemetryEventNotification = exports.LogMessageNotification = exports.ShowMessageRequest = exports.ShowMessageNotification = exports.MessageType = exports.DidChangeConfigurationNotification = exports.ExitNotification = exports.ShutdownRequest = exports.InitializedNotification = exports.InitializeError = exports.InitializeRequest = exports.WorkDoneProgressOptions = exports.TextDocumentRegistrationOptions = exports.StaticRegistrationOptions = exports.FailureHandlingKind = exports.ResourceOperationKind = exports.UnregistrationRequest = exports.RegistrationRequest = exports.DocumentSelector = exports.NotebookCellTextDocumentFilter = exports.NotebookDocumentFilter = exports.TextDocumentFilter = void 0; | ||
exports.MonikerRequest = exports.MonikerKind = exports.UniquenessLevel = exports.WillDeleteFilesRequest = exports.DidDeleteFilesNotification = exports.WillRenameFilesRequest = exports.DidRenameFilesNotification = exports.WillCreateFilesRequest = exports.DidCreateFilesNotification = exports.FileOperationPatternKind = exports.LinkedEditingRangeRequest = exports.ShowDocumentRequest = exports.SemanticTokensRegistrationType = exports.SemanticTokensRefreshRequest = exports.SemanticTokensRangeRequest = exports.SemanticTokensDeltaRequest = exports.SemanticTokensRequest = exports.TokenFormat = exports.CallHierarchyPrepareRequest = exports.CallHierarchyOutgoingCallsRequest = exports.CallHierarchyIncomingCallsRequest = exports.WorkDoneProgressCancelNotification = exports.WorkDoneProgressCreateRequest = exports.WorkDoneProgress = exports.SelectionRangeRequest = exports.DeclarationRequest = exports.FoldingRangeRequest = exports.ColorPresentationRequest = exports.DocumentColorRequest = exports.ConfigurationRequest = exports.DidChangeWorkspaceFoldersNotification = exports.WorkspaceFoldersRequest = exports.TypeDefinitionRequest = exports.ImplementationRequest = exports.ApplyWorkspaceEditRequest = exports.ExecuteCommandRequest = exports.PrepareRenameRequest = exports.RenameRequest = exports.PrepareSupportDefaultBehavior = exports.DocumentOnTypeFormattingRequest = exports.DocumentRangeFormattingRequest = exports.DocumentFormattingRequest = exports.DocumentLinkResolveRequest = exports.DocumentLinkRequest = exports.CodeLensRefreshRequest = exports.CodeLensResolveRequest = void 0; | ||
const messages_1 = require("./messages"); | ||
@@ -64,7 +64,9 @@ const Is = require("./utils/is"); | ||
/** | ||
* The DocumentFilter namespace provides helper functions to work with | ||
* [DocumentFilter](#DocumentFilter) literals. | ||
* The TextDocumentFilter namespace provides helper functions to work with | ||
* [TextDocumentFilter](#TextDocumentFilter) literals. | ||
* | ||
* @since 3.17.0 - proposed state. | ||
*/ | ||
var DocumentFilter; | ||
(function (DocumentFilter) { | ||
var TextDocumentFilter; | ||
(function (TextDocumentFilter) { | ||
function is(value) { | ||
@@ -74,5 +76,33 @@ const candidate = value; | ||
} | ||
DocumentFilter.is = is; | ||
})(DocumentFilter = exports.DocumentFilter || (exports.DocumentFilter = {})); | ||
TextDocumentFilter.is = is; | ||
})(TextDocumentFilter = exports.TextDocumentFilter || (exports.TextDocumentFilter = {})); | ||
/** | ||
* The NotebookDocumentFilter namespace provides helper functions to work with | ||
* [NotebookDocumentFilter](#NotebookDocumentFilter) literals. | ||
* | ||
* @since 3.17.0 - proposed state. | ||
*/ | ||
var NotebookDocumentFilter; | ||
(function (NotebookDocumentFilter) { | ||
function is(value) { | ||
const candidate = value; | ||
return Is.objectLiteral(candidate) && (Is.string(candidate.notebookType) || Is.string(candidate.scheme) || Is.string(candidate.pattern)); | ||
} | ||
NotebookDocumentFilter.is = is; | ||
})(NotebookDocumentFilter = exports.NotebookDocumentFilter || (exports.NotebookDocumentFilter = {})); | ||
/** | ||
* The NotebookCellTextDocumentFilter namespace provides helper functions to work with | ||
* [NotebookCellTextDocumentFilter](#NotebookCellTextDocumentFilter) literals. | ||
* | ||
* @since 3.17.0 - proposed state. | ||
*/ | ||
var NotebookCellTextDocumentFilter; | ||
(function (NotebookCellTextDocumentFilter) { | ||
function is(value) { | ||
const candidate = value; | ||
return Is.objectLiteral(candidate) && NotebookDocumentFilter.is(candidate.notebookDocument) && (candidate.cellLanguage === undefined || Is.string(candidate.cellLanguage)); | ||
} | ||
NotebookCellTextDocumentFilter.is = is; | ||
})(NotebookCellTextDocumentFilter = exports.NotebookCellTextDocumentFilter || (exports.NotebookCellTextDocumentFilter = {})); | ||
/** | ||
* The DocumentSelector namespace provides helper functions to work with | ||
@@ -88,3 +118,3 @@ * [DocumentSelector](#DocumentSelector)s. | ||
for (let elem of value) { | ||
if (!Is.string(elem) && !DocumentFilter.is(elem)) { | ||
if (!Is.string(elem) && !TextDocumentFilter.is(elem) && !NotebookCellTextDocumentFilter.is(elem)) { | ||
return false; | ||
@@ -91,0 +121,0 @@ } |
{ | ||
"name": "vscode-languageserver-protocol", | ||
"description": "VSCode Language Server Protocol implementation", | ||
"version": "3.17.0-next.11", | ||
"version": "3.17.0-next.12", | ||
"author": "Microsoft Corporation", | ||
@@ -21,4 +21,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"vscode-jsonrpc": "8.0.0-next.4", | ||
"vscode-languageserver-types": "3.17.0-next.5" | ||
"vscode-jsonrpc": "8.0.0-next.5", | ||
"vscode-languageserver-types": "3.17.0-next.6" | ||
}, | ||
@@ -25,0 +25,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
296430
61
7208
+ Addedvscode-jsonrpc@8.0.0-next.5(transitive)
+ Addedvscode-languageserver-types@3.17.0-next.6(transitive)
- Removedvscode-jsonrpc@8.0.0-next.4(transitive)
- Removedvscode-languageserver-types@3.17.0-next.5(transitive)
Updatedvscode-jsonrpc@8.0.0-next.5