MCPcopy Create free account
hub / github.com/angular/angular / initServer

Function initServer

vscode-ng-language-service/integration/lsp/ivy_spec.ts:60–70  ·  view source on GitHub ↗
(options: Partial<ServerOptions>)

Source from the content-addressed store, hash-verified

58 });
59
60 async function initServer(options: Partial<ServerOptions>) {
61 client = createConnection({
62 ...options,
63 });
64 // If debugging, set to
65 // - lsp.Trace.Messages to inspect request/response/notification, or
66 // - lsp.Trace.Verbose to inspect payload
67 client.trace(lsp.Trace.Off, createTracer());
68 client.listen();
69 await initializeServer(client);
70 }
71
72 it('should handle hover on inline template', async () => {
73 openTextDocument(client, APP_COMPONENT);

Callers 1

ivy_spec.tsFile · 0.85

Calls 4

createConnectionFunction · 0.85
initializeServerFunction · 0.85
createTracerFunction · 0.70
listenMethod · 0.65

Tested by

no test coverage detected