@aws/language-server-runtimes
Advanced tools
Comparing version 0.2.12 to 0.2.13
{ | ||
"name": "@aws/language-server-runtimes", | ||
"version": "0.2.12", | ||
"version": "0.2.13", | ||
"description": "Runtimes to host Language Servers for AWS", | ||
@@ -44,5 +44,5 @@ "files": [ | ||
"@types/mocha": "^10.0.7", | ||
"@types/node": "^20.14.10", | ||
"@types/node": "^22.1.0", | ||
"assert": "^2.0.0", | ||
"husky": "^9.0.11", | ||
"husky": "^9.1.4", | ||
"prettier": "3.3.3", | ||
@@ -52,3 +52,3 @@ "sinon": "^18.0.0", | ||
"ts-sinon": "^2.0.2", | ||
"typescript": "^5.5.3" | ||
"typescript": "^5.5.4" | ||
}, | ||
@@ -55,0 +55,0 @@ "typesVersions": { |
@@ -197,2 +197,7 @@ "use strict"; | ||
}, | ||
window: { | ||
showMessage: params => lspConnection.sendNotification(protocol_1.ShowMessageNotification.method, params), | ||
showMessageRequest: params => lspConnection.sendRequest(protocol_1.ShowMessageRequest.method, params), | ||
showDocument: params => lspConnection.sendRequest(protocol_1.ShowDocumentRequest.method, params), | ||
}, | ||
publishDiagnostics: params => lspConnection.sendNotification(protocol_1.PublishDiagnosticsNotification.method, params), | ||
@@ -199,0 +204,0 @@ sendProgress: (type, token, value) => __awaiter(this, void 0, void 0, function* () { |
@@ -100,2 +100,7 @@ "use strict"; | ||
}, | ||
window: { | ||
showMessage: params => lspConnection.sendNotification(protocol_1.ShowMessageNotification.method, params), | ||
showMessageRequest: params => lspConnection.sendRequest(protocol_1.ShowMessageRequest.method, params), | ||
showDocument: params => lspConnection.sendRequest(protocol_1.ShowDocumentRequest.method, params), | ||
}, | ||
publishDiagnostics: params => lspConnection.sendNotification(protocol_1.PublishDiagnosticsNotification.method, params), | ||
@@ -102,0 +107,0 @@ sendProgress: (type, token, value) => { |
@@ -1,2 +0,2 @@ | ||
import { CompletionItem, CompletionList, CompletionParams, DidChangeConfigurationParams, DidChangeTextDocumentParams, DidChangeWorkspaceFoldersParams, DidCloseTextDocumentParams, DidOpenTextDocumentParams, DocumentFormattingParams, ExecuteCommandParams, Hover, HoverParams, InitializeError, InitializeParams, InitializedParams, InlineCompletionItem, InlineCompletionItemWithReferences, InlineCompletionList, InlineCompletionListWithReferences, InlineCompletionParams, LogInlineCompletionSessionResultsParams, NotificationHandler, ProgressToken, ProgressType, PublishDiagnosticsParams, ChatOptions, RequestHandler, ServerCapabilities, TextEdit, SemanticTokensParams, SemanticTokens, SignatureHelp, SignatureHelpParams } from '../protocol'; | ||
import { CompletionItem, CompletionList, CompletionParams, DidChangeConfigurationParams, DidChangeTextDocumentParams, DidChangeWorkspaceFoldersParams, DidCloseTextDocumentParams, DidOpenTextDocumentParams, DocumentFormattingParams, ExecuteCommandParams, Hover, HoverParams, InitializeError, InitializeParams, InitializedParams, InlineCompletionItem, InlineCompletionItemWithReferences, InlineCompletionList, InlineCompletionListWithReferences, InlineCompletionParams, LogInlineCompletionSessionResultsParams, NotificationHandler, ProgressToken, ProgressType, PublishDiagnosticsParams, ChatOptions, RequestHandler, ServerCapabilities, TextEdit, SemanticTokensParams, SemanticTokens, SignatureHelp, SignatureHelpParams, ShowMessageParams, ShowMessageRequestParams, MessageActionItem, ShowDocumentParams, ShowDocumentResult } from '../protocol'; | ||
export * from '../protocol/lsp'; | ||
@@ -37,2 +37,7 @@ export type PartialServerCapabilities<T = any> = Pick<ServerCapabilities<T>, 'completionProvider' | 'hoverProvider' | 'executeCommandProvider' | 'semanticTokensProvider' | 'signatureHelpProvider'>; | ||
}; | ||
window: { | ||
showMessage: (params: ShowMessageParams) => Promise<void>; | ||
showMessageRequest: (params: ShowMessageRequestParams) => Promise<MessageActionItem | null>; | ||
showDocument: (params: ShowDocumentParams) => Promise<ShowDocumentResult>; | ||
}; | ||
extensions: { | ||
@@ -39,0 +44,0 @@ onInlineCompletionWithReferences: (handler: RequestHandler<InlineCompletionParams, InlineCompletionItemWithReferences[] | InlineCompletionListWithReferences | undefined | null, void>) => void; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
253034
2799