mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 13:03:42 +01:00
[css/json/html] adopt latest lsp, update to module: node16 (#230371)
* adopt latest language-server/client * update package-locks * transpiler to support Node16
This commit is contained in:
committed by
GitHub
parent
52b181c2ce
commit
fc6d94b806
@@ -3,7 +3,6 @@
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { DocumentSelector } from 'vscode-languageclient';
|
||||
import { Event, EventEmitter, extensions } from 'vscode';
|
||||
|
||||
/**
|
||||
@@ -23,7 +22,7 @@ interface LanguageParticipantContribution {
|
||||
|
||||
export interface LanguageParticipants {
|
||||
readonly onDidChange: Event<void>;
|
||||
readonly documentSelector: DocumentSelector;
|
||||
readonly documentSelector: string[];
|
||||
hasLanguage(languageId: string): boolean;
|
||||
useComments(languageId: string): boolean;
|
||||
dispose(): void;
|
||||
|
||||
@@ -6,10 +6,9 @@
|
||||
import {
|
||||
window, languages, Uri, Disposable, commands, QuickPickItem,
|
||||
extensions, workspace, Extension, WorkspaceFolder, QuickPickItemKind,
|
||||
ThemeIcon, TextDocument, LanguageStatusSeverity, l10n
|
||||
ThemeIcon, TextDocument, LanguageStatusSeverity, l10n, DocumentSelector
|
||||
} from 'vscode';
|
||||
import { JSONLanguageStatus, JSONSchemaSettings } from './jsonClient';
|
||||
import { DocumentSelector } from 'vscode-languageclient';
|
||||
|
||||
type ShowSchemasInput = {
|
||||
schemas: string[];
|
||||
|
||||
Reference in New Issue
Block a user