Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 5fb0b73

Browse files
tomv564felixfbecker
authored andcommitted
fix: add empty handler for initialized notification (#384)
1 parent a34ac0b commit 5fb0b73

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/typescript-service.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,16 @@ export class TypeScriptService {
13301330
.startWith({ op: 'add', path: '', value: { changes: {} } as WorkspaceEdit } as Operation)
13311331
}
13321332

1333+
/**
1334+
* The initialized notification is sent from the client to the server after the client received
1335+
* the result of the initialize request but before the client is sending any other request or
1336+
* notification to the server. The server can use the initialized notification for example to
1337+
* dynamically register capabilities.
1338+
*/
1339+
public async initialized(): Promise<void> {
1340+
// nop
1341+
}
1342+
13331343
/**
13341344
* The document open notification is sent from the client to the server to signal newly opened
13351345
* text documents. The document's truth is now managed by the client and the server must not try

0 commit comments

Comments
 (0)