@vtsls/language-service
Advanced tools
Comparing version 0.2.4 to 0.2.5-alpha.0
@@ -10,2 +10,3 @@ export declare const completionTriggerCharacters: string[]; | ||
export declare const onTypeFormatMoreTriggerCharacter: string[]; | ||
export { ProviderNotFoundError } from "../shims/languageFeatures"; | ||
//# sourceMappingURL=protocol.d.ts.map |
@@ -6,2 +6,3 @@ import * as lsp from "vscode-languageserver-protocol"; | ||
clientCapabilities: lsp.ClientCapabilities; | ||
hostInfo?: string; | ||
tsExtLogPath?: string; | ||
@@ -8,0 +9,0 @@ } |
import * as vscode from "vscode"; | ||
export declare function createContextShim(logPath: string): vscode.ExtensionContext; | ||
export declare function createContextShim(logPath: string, hostInfo?: string): vscode.ExtensionContext; | ||
//# sourceMappingURL=context.d.ts.map |
@@ -13,3 +13,5 @@ import * as vscode from "vscode"; | ||
declare class LanguageFeatureRegistry<T, Args = unknown> extends Disposable { | ||
featureId: string; | ||
private entries; | ||
constructor(featureId: string); | ||
register(id: number, registry: ProviderEntry<T, Args>): lsp.Disposable; | ||
@@ -21,2 +23,3 @@ [Symbol.iterator](): IterableIterator<[number, ProviderEntry<T, Args>]>; | ||
}> { | ||
constructor(); | ||
} | ||
@@ -26,2 +29,3 @@ export declare class CompletionProviderRegistry extends LanguageFeatureRegistry<vscode.CompletionItemProvider, { | ||
}> { | ||
constructor(); | ||
} | ||
@@ -36,3 +40,3 @@ interface ProviderWithScore<T, Args> { | ||
getProviders(doc: vscode.TextDocument): ProviderWithScore<T, Args>[]; | ||
getProviderById(id: number): ProviderEntry<T, Args>; | ||
getProviderById(id: number): ProviderEntry<T, Args> | undefined; | ||
} | ||
@@ -42,2 +46,6 @@ type InferRegistryHandle<R extends LanguageFeatureRegistry<any>> = R extends LanguageFeatureRegistry<infer T, infer A> ? LanguageFeatureRegistryHandle<T, A> : never; | ||
export type CompletionRegistryHandle = InferRegistryHandle<CompletionProviderRegistry>; | ||
export declare class ProviderNotFoundError extends Error { | ||
providerFeature: string; | ||
constructor(providerFeature: string); | ||
} | ||
declare class LanguageFeaturesRegistryStore extends Disposable { | ||
@@ -44,0 +52,0 @@ readonly callHierarchy: LanguageFeatureRegistry<vscode.CallHierarchyProvider, unknown>; |
@@ -16,2 +16,3 @@ import * as vscode from 'vscode'; | ||
export declare const chatBackingCodeBlock = "vscode-copilot-chat-code-block"; | ||
export declare const zipfile = "zipfile"; | ||
export declare function getSemanticSupportedSchemes(): string[]; | ||
@@ -18,0 +19,0 @@ /** |
{ | ||
"name": "@vtsls/language-service", | ||
"description": "LSP wrapper for typescript extension of vscode", | ||
"version": "0.2.4", | ||
"version": "0.2.5-alpha.0", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "engines": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1750901
196
42791