MCPcopy Index your code
hub / github.com/angular/angular / initServer

Function initServer

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

Source from the content-addressed store, hash-verified

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

Callers 1

ivy_spec.tsFile · 0.85

Calls 4

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

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…