mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
sketch for virtual document support for
This commit is contained in:
@@ -16,7 +16,7 @@ import {
|
||||
DocumentRangeFormattingRequest, ProvideCompletionItemsSignature, TextDocumentIdentifier, RequestType0, Range as LspRange, NotificationType, CommonLanguageClient
|
||||
} from 'vscode-languageclient';
|
||||
import { activateTagClosing } from './tagClosing';
|
||||
import { RequestService } from './requests';
|
||||
import { RequestService, serveFileSystemRequests } from './requests';
|
||||
import { getCustomDataSource } from './customData';
|
||||
|
||||
namespace CustomDataChangedNotification {
|
||||
@@ -120,6 +120,8 @@ export function startClient(context: ExtensionContext, newLanguageClient: Langua
|
||||
toDispose.push(disposable);
|
||||
client.onReady().then(() => {
|
||||
|
||||
serveFileSystemRequests(client, runtime, context.subscriptions);
|
||||
|
||||
client.sendNotification(CustomDataChangedNotification.type, customDataSource.uris);
|
||||
customDataSource.onDidChange(() => {
|
||||
client.sendNotification(CustomDataChangedNotification.type, customDataSource.uris);
|
||||
|
||||
Reference in New Issue
Block a user