@qualified/lsp-connection
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -76,2 +76,6 @@ import type { Message, MessageConnection, NotificationHandler } from "vscode-jsonrpc"; | ||
configurationChanged: (params: import("vscode-languageserver-protocol").DidChangeConfigurationParams) => void; | ||
/** | ||
* Notify that the client detected changes to files. | ||
*/ | ||
watchedFilesChanged: (params: import("vscode-languageserver-protocol").DidChangeWatchedFilesParams) => void; | ||
/** If supported, request completion at a given text document position. */ | ||
@@ -78,0 +82,0 @@ getCompletion: (params: import("vscode-languageserver-protocol").CompletionParams) => Promise<import("vscode-languageserver-protocol").CompletionList | import("vscode-languageserver-protocol").CompletionItem[] | null>; |
@@ -123,2 +123,6 @@ "use strict"; | ||
configurationChanged: notifier(vscode_languageserver_protocol_1.DidChangeConfigurationNotification.type), | ||
/** | ||
* Notify that the client detected changes to files. | ||
*/ | ||
watchedFilesChanged: notifier(vscode_languageserver_protocol_1.DidChangeWatchedFilesNotification.type), | ||
/** If supported, request completion at a given text document position. */ | ||
@@ -125,0 +129,0 @@ getCompletion: maybeReq(() => !!capabilities.completionProvider, vscode_languageserver_protocol_1.CompletionRequest.type), |
@@ -76,2 +76,6 @@ import type { Message, MessageConnection, NotificationHandler } from "vscode-jsonrpc"; | ||
configurationChanged: (params: import("vscode-languageserver-protocol").DidChangeConfigurationParams) => void; | ||
/** | ||
* Notify that the client detected changes to files. | ||
*/ | ||
watchedFilesChanged: (params: import("vscode-languageserver-protocol").DidChangeWatchedFilesParams) => void; | ||
/** If supported, request completion at a given text document position. */ | ||
@@ -78,0 +82,0 @@ getCompletion: (params: import("vscode-languageserver-protocol").CompletionParams) => Promise<import("vscode-languageserver-protocol").CompletionList | import("vscode-languageserver-protocol").CompletionItem[] | null>; |
@@ -1,2 +0,2 @@ | ||
import { CodeActionRequest, CodeLensRequest, CodeLensResolveRequest, CompletionRequest, CompletionResolveRequest, DeclarationRequest, DefinitionRequest, DidChangeConfigurationNotification, DidChangeTextDocumentNotification, DidCloseTextDocumentNotification, DidOpenTextDocumentNotification, DidSaveTextDocumentNotification, DocumentColorRequest, DocumentHighlightRequest, DocumentLinkRequest, DocumentLinkResolveRequest, DocumentSymbolRequest, ExitNotification, FoldingRangeRequest, HoverRequest, ImplementationRequest, InitializeRequest, InitializedNotification, LogMessageNotification, PublishDiagnosticsNotification, ReferencesRequest, RegistrationRequest, SelectionRangeRequest, ShowMessageNotification, ShutdownRequest, SignatureHelpRequest, TextDocumentSyncKind, TypeDefinitionRequest, UnregistrationRequest, WorkspaceSymbolRequest, WillSaveTextDocumentNotification, WillSaveTextDocumentWaitUntilRequest, } from "vscode-languageserver-protocol"; | ||
import { CodeActionRequest, CodeLensRequest, CodeLensResolveRequest, CompletionRequest, CompletionResolveRequest, DeclarationRequest, DefinitionRequest, DidChangeConfigurationNotification, DidChangeTextDocumentNotification, DidChangeWatchedFilesNotification, DidCloseTextDocumentNotification, DidOpenTextDocumentNotification, DidSaveTextDocumentNotification, DocumentColorRequest, DocumentHighlightRequest, DocumentLinkRequest, DocumentLinkResolveRequest, DocumentSymbolRequest, ExitNotification, FoldingRangeRequest, HoverRequest, ImplementationRequest, InitializeRequest, InitializedNotification, LogMessageNotification, PublishDiagnosticsNotification, ReferencesRequest, RegistrationRequest, SelectionRangeRequest, ShowMessageNotification, ShutdownRequest, SignatureHelpRequest, TextDocumentSyncKind, TypeDefinitionRequest, UnregistrationRequest, WillSaveTextDocumentNotification, WillSaveTextDocumentWaitUntilRequest, WorkspaceSymbolRequest, } from "vscode-languageserver-protocol"; | ||
/** | ||
@@ -120,2 +120,6 @@ * Wrap JSON RPC `MessageConnection` to provide typed methods for LSP. | ||
configurationChanged: notifier(DidChangeConfigurationNotification.type), | ||
/** | ||
* Notify that the client detected changes to files. | ||
*/ | ||
watchedFilesChanged: notifier(DidChangeWatchedFilesNotification.type), | ||
/** If supported, request completion at a given text document position. */ | ||
@@ -122,0 +126,0 @@ getCompletion: maybeReq(() => !!capabilities.completionProvider, CompletionRequest.type), |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"license": "MIT", | ||
@@ -30,2 +30,2 @@ "homepage": "https://github.com/qualified/lsps#readme", | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
63945
686