vscode-languageserver
Advanced tools
Comparing version 7.0.0-next.6 to 7.0.0-next.7
import { _, Features, _Connection } from './server'; | ||
import { SemanticTokensBuilder } from './semanticTokens'; | ||
import type { WorkDoneProgressReporter, WorkDoneProgressServerReporter, ResultProgressReporter } from './progress'; | ||
import * as st from './semanticTokens.proposed'; | ||
export * from 'vscode-languageserver-protocol/'; | ||
export { WorkDoneProgressReporter, WorkDoneProgressServerReporter, ResultProgressReporter }; | ||
export { SemanticTokensBuilder }; | ||
export * from './server'; | ||
export declare namespace ProposedFeatures { | ||
const all: Features<_, _, _, _, _, _, st.SemanticTokens>; | ||
type Connection = _Connection<_, _, _, _, _, _, st.SemanticTokens>; | ||
type SemanticTokensBuilder = st.SemanticTokensBuilder; | ||
const SemanticTokensBuilder: typeof st.SemanticTokensBuilder; | ||
const all: Features<_, _, _, _, _, _, _>; | ||
type Connection = _Connection<_, _, _, _, _, _, _>; | ||
} |
@@ -10,3 +10,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const st = require("./semanticTokens.proposed"); | ||
const semanticTokens_1 = require("./semanticTokens"); | ||
exports.SemanticTokensBuilder = semanticTokens_1.SemanticTokensBuilder; | ||
__export(require("vscode-languageserver-protocol/")); | ||
@@ -17,7 +18,5 @@ __export(require("./server")); | ||
ProposedFeatures.all = { | ||
__brand: 'features', | ||
languages: st.SemanticTokensFeature | ||
__brand: 'features' | ||
}; | ||
ProposedFeatures.SemanticTokensBuilder = st.SemanticTokensBuilder; | ||
})(ProposedFeatures = exports.ProposedFeatures || (exports.ProposedFeatures = {})); | ||
//# sourceMappingURL=api.js.map |
@@ -6,2 +6,3 @@ import { CancellationToken, RequestType0, RequestHandler0, RequestType, RequestHandler, GenericRequestHandler, StarRequestHandler, HandlerResult, NotificationType0, NotificationHandler0, NotificationType, NotificationHandler, GenericNotificationHandler, StarNotificationHandler, ProgressType, Disposable, InitializeParams, InitializeResult, InitializeError, InitializedParams, DidChangeConfigurationParams, DidChangeWatchedFilesParams, DidOpenTextDocumentParams, DidChangeTextDocumentParams, DidCloseTextDocumentParams, WillSaveTextDocumentParams, TextEdit, DidSaveTextDocumentParams, PublishDiagnosticsParams, HoverParams, Hover, CompletionParams, CompletionItem, CompletionList, SignatureHelpParams, SignatureHelp, DeclarationParams, Declaration, DeclarationLink, Location, DefinitionParams, Definition, DefinitionLink, TypeDefinitionParams, ImplementationParams, ReferenceParams, DocumentHighlightParams, DocumentHighlight, DocumentSymbolParams, SymbolInformation, DocumentSymbol, WorkspaceSymbolParams, CodeActionParams, Command, CodeAction, CodeLensParams, CodeLens, DocumentFormattingParams, DocumentRangeFormattingParams, DocumentOnTypeFormattingParams, RenameParams, WorkspaceEdit, PrepareRenameParams, Range, DocumentLinkParams, DocumentLink, DocumentColorParams, ColorInformation, ColorPresentationParams, ColorPresentation, FoldingRangeParams, FoldingRange, SelectionRangeParams, SelectionRange, ExecuteCommandParams, MessageActionItem, ClientCapabilities, ServerCapabilities, Logger, ProtocolConnection, TextDocumentContentChangeEvent, TextDocumentSaveReason, Event, MessageSignature, ApplyWorkspaceEditParams, ApplyWorkspaceEditResponse, WorkDoneProgressParams, PartialResultParams } from 'vscode-languageserver-protocol'; | ||
import { CallHierarchy } from './callHierarchy'; | ||
import { SemanticTokensFeatureShape } from './semanticTokens'; | ||
export interface TextDocumentsConfiguration<T> { | ||
@@ -392,3 +393,3 @@ create(uri: string, languageId: string, version: number, content: string): T; | ||
} | ||
export declare type Languages = _Languages & CallHierarchy; | ||
export declare type Languages = _Languages & CallHierarchy & SemanticTokensFeatureShape; | ||
/** | ||
@@ -395,0 +396,0 @@ * An empty interface for new proposed API. |
@@ -14,2 +14,3 @@ "use strict"; | ||
const callHierarchy_1 = require("./callHierarchy"); | ||
const semanticTokens_1 = require("./semanticTokens"); | ||
function null2Undefined(value) { | ||
@@ -538,3 +539,3 @@ if (value === null) { | ||
exports._LanguagesImpl = _LanguagesImpl; | ||
const LanguagesImpl = callHierarchy_1.CallHierarchyFeature(_LanguagesImpl); | ||
const LanguagesImpl = semanticTokens_1.SemanticTokensFeature(callHierarchy_1.CallHierarchyFeature(_LanguagesImpl)); | ||
function combineConsoleFeatures(one, two) { | ||
@@ -541,0 +542,0 @@ return function (Base) { |
{ | ||
"name": "vscode-languageserver", | ||
"description": "Language server implementation for node", | ||
"version": "7.0.0-next.6", | ||
"version": "7.0.0-next.7", | ||
"author": "Microsoft Corporation", | ||
@@ -24,6 +24,6 @@ "license": "MIT", | ||
"dependencies": { | ||
"vscode-languageserver-protocol": "3.16.0-next.6" | ||
"vscode-languageserver-protocol": "3.16.0-next.7" | ||
}, | ||
"scripts": { | ||
"prepublishOnly": "npm run clean && npm run compile && npm test", | ||
"prepublishOnly": "git clean -xfd . && npm install && npm run clean && npm run compile && npm test", | ||
"postpublish": "node ../build/npm/post-publish.js", | ||
@@ -30,0 +30,0 @@ "compile": "node ../build/bin/tsc -b ./tsconfig.json", |
133782
+ Addedvscode-jsonrpc@6.0.0-next.5(transitive)
+ Addedvscode-languageserver-protocol@3.16.0-next.7(transitive)
- Removedvscode-jsonrpc@6.0.0-next.4(transitive)
- Removedvscode-languageserver-protocol@3.16.0-next.6(transitive)